Reputation: 29
I've been searching for an answer to this but found nothing useful:
So I'm trying to design a page whereby a user designs an Icon to use for them self.
They can choose a background, a logo, and a border, from a list of pre-uploaded PNG images. Left and right arrows are used to scroll through the images for each part, the Image number for each part is stored in a Javascript variable for each. (BG=background, FG=foreground icon, BD=border image)
What I need to do is combine the 3 PNGs into a single GIF image, which needs to be saved in a certain location. Is this possible? From what I've read online it is possible to merge them together, but I would have no idea where to start with it, or how to do it.
Any help on this would be great.
Thanks,
Upvotes: 0
Views: 549
Reputation: 124
install and use GraphicsMagick or ImageMagick from php. There are many good tutorials and the documentation is great. GD Lib can do it, but the others are typically faster and (in my experience) do a better job.
Upvotes: 1