I have been trying and googling for 2 days now but cant seem to find the correct way to make this work.
I have made an upload form where people can upload their foto's these are getting converted to gif 256 colors, now what i would like to do is overlay a few animated gifs over this uploaded picture, i got it to work with 1 animated gif like this:
Code: Select all
exec('/usr/bin/convert logo2.gif -repage 640x480+140+80\! -coalesce \
-draw \'image DstOver 0,0 0,0 "fotoblings/25010903200811411205059282.gif"\' \
-layers Optimize overlay_images/testje.gif');
Then i put the picture that someone uploads at the back of the transparent logo2.gif.
The problem is, if i do this multiple times with different locations of the logo2.gif the newest logo2.gif will be animated but the ones that i put in before will be stills.
My question is, how can i get multiple "Animated gifs" to overlay a picture(gif)
I will make sure all the gifs have the same framecount etc.
Thanks in advance!