Page 1 of 1

Adding Circle to Animated GIF

Posted: 2016-03-07T10:36:30-07:00
by deklin
I would like to add a blue circle to a fixed location of an animated GIF
Image

Code: Select all

convert image.gif  -draw "fill blue circle 10,10 15,15" circle.gif
I get two circles. One circle is where I want it but I also get an unwanted bonus circle that jumps around.

Image

Re: Adding Circle to Animated GIF

Posted: 2016-03-07T10:50:44-07:00
by snibgo
You need to "-layers coalesce" the input, before drawing the ball on each frame.

Re: Adding Circle to Animated GIF

Posted: 2016-03-07T13:10:44-07:00
by deklin
Thanks, that solved it.

Re: Adding Circle to Animated GIF

Posted: 2016-03-09T16:27:47-07:00
by anthony
For more information on this exact problem see
IM examples, GIF Animations, Modification
Drawing on a GIF Animation...
http://www.imagemagick.org/Usage/anim_mods/#draw