so you'd only get one output (2.gif) which is the change file (logo.png) dissolved onto the lower left corner of the input (1.gif).
In this context, the "-quality 88.0" option is ignored (the GIF encoder does not use it), so you should omit it (but if you were writing JPEG, then "-quality 88" (not 88.0) would be useful).
If you were expecting your command to work like "mogrify" (overlaying logo.png on both 1.gif and 2.gif), you could do this:
This splits your 1.gif into individual files frame0000.gif,
frame0001.gif, etc., watermarks each with logo.png, and then
reassembles them into a new animation (2.gif). I don't know
if it's the most efficient method, but it does work for me.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Your commandline seems to work for me. The syntax for "composite" is
gm composite [options] changefile basefile outputfile
so you'd only get one output (2.gif) which is the change file (logo.png) dissolved onto the lower left corner of the input (1.gif).
In this context, the "-quality 88.0" option is ignored (the GIF encoder does not use it), so you should omit it (but if you were writing JPEG, then "-quality 88" (not 88.0) would be useful).
If you were expecting your command to work like "mogrify" (overlaying logo.png on both 1.gif and 2.gif), you could do this:
Last edit: Glenn Randers-Pehrson 2014-12-08
Thank you for your help.
If I want each frame of 2.gif has a watermark, what should I do.
To watermark each frame of an animated GIF, try
This splits your 1.gif into individual files frame0000.gif,
frame0001.gif, etc., watermarks each with logo.png, and then
reassembles them into a new animation (2.gif). I don't know
if it's the most efficient method, but it does work for me.