Resizing, Cropping & Converting a series of Images to Patrol Cycle Animated GIF + adding Watermark
Posted: 2016-01-22T20:07:33-07:00
I have a series of images that I want to convert to an animated gif that plays forwards and backwards. In the process I also want to resize and crop them. I'd like the animated gif to have a watermark.
This is what I have that works great without the watermark:
When I add a watermark, it only appears on 1 frame:
As a test I tried
and the text appeared over the whole gif, so I'm stumped as to what to do to get an image to appear as the watermark.
Any help is appreciated.
This is what I have that works great without the watermark:
Code: Select all
convert c:\sourceImages\*.jpg -resize "600x400^" -gravity center -crop 600x400+0+0 +repage -coalesce -duplicate 1,-2-1 -set delay 1 -set dispose previous -layers OptimizePlus -quiet -loop 0 c:\finalImages\final.gif
Code: Select all
convert c:\sourceImages\*.jpg -resize "600x400^" -gravity center -crop 600x400+0+0 +repage -draw -coalesce -draw 'image SrcOver 0,0 image.jpg' -duplicate 1,-2-1 -set delay 1 -set dispose previous -layers OptimizePlus -quiet -loop 0 c:\finalImages\final.gif
Code: Select all
convert c:\sourceImages\*.jpg -resize "600x400^" -gravity center -crop 600x400+0+0 +repage -draw -coalesce -draw "text 100,100 'Works like magick!' " -duplicate 1,-2-1 -set delay 1 -set dispose previous -layers OptimizePlus -quiet -loop 0 c:\finalImages\final.gif
Any help is appreciated.