Gif Animation. Delay seems to get ignored
Posted: 2012-02-23T14:00:52-07:00
Hi,
I am using the following code to generate an animated gif. The code worked with a previous version of ImageMagick (a version about 2 years old) but the current version does ignore the delay I want to set.
Whats going wrong?
Thanks in advance
jim
I am using the following code to generate an animated gif. The code worked with a previous version of ImageMagick (a version about 2 years old) but the current version does ignore the delay I want to set.
Code: Select all
convert ( c:/banner.jpg ) -respect-parenthesis ^
( -font Arial -fill grey -strokewidth 2 -pointsize 20 -delay 10 -clone 0 -annotate 0x0+15+20 "Frame 1" ) ^
( -font Arial -fill black -strokewidth 2 -pointsize 20 -delay 200 -clone 0 -annotate 0x0+15+20 "Frame 1" ) ^
( -font Arial -fill grey -strokewidth 2 -pointsize 20 -delay 10 -clone 0 -annotate 0x0+15+20 "Frame 1" ) ^
( -delay 300 -clone 0 ) ^
( -font Arial -fill grey -strokewidth 2 -pointsize 20 -delay 10 -clone 0 -annotate 0x0+15+20 "Frame 2" ) ^
( -font Arial -fill black -strokewidth 2 -pointsize 20 -delay 200 -clone 0 -annotate 0x0+15+20 "Frame 2" ) ^
( -font Arial -fill grey -strokewidth 2 -pointsize 20 -delay 10 -clone 0 -annotate 0x0+15+20 "Frame 2" ) ^
( -delay 300 -clone 0 ) ^
-delete 0 -loop 0 -layers optimize c:/banner_animation.gif
Thanks in advance
jim