[RESOLVED] possible bug animation -set delay, swap or optimize IM6.9.0.4 Q16
Posted: 2015-02-05T19:16:08-07:00
I have this gif (animation)
http://www.fmwconcepts.com/misc_test/an ... tmp1_6.gif
which seems correct in that each frame is 240x160
If I then do
The resulting gif shows two frames [1-2] as having size 1x1, which is not correct
http://www.fmwconcepts.com/misc_test/an ... _swap1.gif
P.S. Same in IM 7
http://www.fmwconcepts.com/misc_test/an ... tmp1_6.gif
which seems correct in that each frame is 240x160
identify tmp1_6.gif
tmp1_6.gif[0] GIF 240x160 240x160+0+0 8-bit sRGB 256c 490KB 0.000u 0:00.000
tmp1_6.gif[1] GIF 240x160 240x160+0+0 8-bit sRGB 256c 490KB 0.000u 0:00.000
tmp1_6.gif[2] GIF 240x160 240x160+0+0 8-bit sRGB 256c 490KB 0.000u 0:00.000
tmp1_6.gif[3] GIF 240x160 240x160+0+0 8-bit sRGB 256c 490KB 0.000u 0:00.000
tmp1_6.gif[4] GIF 240x160 240x160+0+0 8-bit sRGB 256c 490KB 0.000u 0:00.000
tmp1_6.gif[5] GIF 240x160 240x160+0+0 8-bit sRGB 256c 490KB 0.000u 0:00.000
tmp1_6.gif[6] GIF 240x160 240x160+0+0 8-bit sRGB 256c 490KB 0.000u 0:00.000
tmp1_6.gif[7] GIF 240x160 240x160+0+0 8-bit sRGB 256c 490KB 0.000u 0:00.000
tmp1_6.gif[8] GIF 240x160 240x160+0+0 8-bit sRGB 256c 490KB 0.000u 0:00.000
tmp1_6.gif[9] GIF 240x160 240x160+0+0 8-bit sRGB 256c 490KB 0.000u 0:00.000
tmp1_6.gif[10] GIF 240x160 240x160+0+0 8-bit sRGB 256c 490KB 0.000u 0:00.000
tmp1_6.gif[11] GIF 240x160 240x160+0+0 8-bit sRGB 256c 490KB 0.000u 0:00.000
tmp1_6.gif[12] GIF 240x160 240x160+0+0 8-bit sRGB 256c 490KB 0.000u 0:00.000
tmp1_6.gif[13] GIF 240x160 240x160+0+0 8-bit sRGB 256c 490KB 0.000u 0:00.000
tmp1_6.gif[14] GIF 240x160 240x160+0+0 8-bit sRGB 256c 490KB 0.000u 0:00.000
tmp1_6.gif[15] GIF 240x160 240x160+0+0 8-bit sRGB 256c 490KB 0.000u 0:00.000
tmp1_6.gif[16] GIF 240x160 240x160+0+0 8-bit sRGB 256c 490KB 0.000u 0:00.000
tmp1_6.gif[17] GIF 240x160 240x160+0+0 8-bit sRGB 256c 490KB 0.000u 0:00.000
If I then do
Code: Select all
convert tmp1_6.gif -coalesce \
\( -clone 0 -set delay 50 \) -swap 0,-1 +delete \
-quiet -layers Optimize tmp1_6_swap1.gif
http://www.fmwconcepts.com/misc_test/an ... _swap1.gif
identify tmp1_6_swap1.gif
tmp1_6_swap1.gif[0] GIF 240x160 240x160+0+0 8-bit sRGB 256c 448KB 0.000u 0:00.000
tmp1_6_swap1.gif[1] GIF 1x1 240x160+0+0 8-bit sRGB 256c 448KB 0.000u 0:00.000
tmp1_6_swap1.gif[2] GIF 1x1 240x160+0+0 8-bit sRGB 256c 448KB 0.000u 0:00.000
tmp1_6_swap1.gif[3] GIF 240x160 240x160+0+0 8-bit sRGB 256c 448KB 0.000u 0:00.000
tmp1_6_swap1.gif[4] GIF 240x160 240x160+0+0 8-bit sRGB 256c 448KB 0.000u 0:00.000
tmp1_6_swap1.gif[5] GIF 240x160 240x160+0+0 8-bit sRGB 256c 448KB 0.000u 0:00.000
tmp1_6_swap1.gif[6] GIF 240x160 240x160+0+0 8-bit sRGB 256c 448KB 0.000u 0:00.000
tmp1_6_swap1.gif[7] GIF 240x160 240x160+0+0 8-bit sRGB 256c 448KB 0.000u 0:00.000
tmp1_6_swap1.gif[8] GIF 240x160 240x160+0+0 8-bit sRGB 256c 448KB 0.000u 0:00.000
tmp1_6_swap1.gif[9] GIF 240x160 240x160+0+0 8-bit sRGB 256c 448KB 0.000u 0:00.000
tmp1_6_swap1.gif[10] GIF 240x160 240x160+0+0 8-bit sRGB 256c 448KB 0.000u 0:00.000
tmp1_6_swap1.gif[11] GIF 240x160 240x160+0+0 8-bit sRGB 256c 448KB 0.000u 0:00.000
tmp1_6_swap1.gif[12] GIF 240x160 240x160+0+0 8-bit sRGB 256c 448KB 0.000u 0:00.000
tmp1_6_swap1.gif[13] GIF 240x160 240x160+0+0 8-bit sRGB 256c 448KB 0.000u 0:00.000
tmp1_6_swap1.gif[14] GIF 240x160 240x160+0+0 8-bit sRGB 256c 448KB 0.000u 0:00.000
tmp1_6_swap1.gif[15] GIF 240x160 240x160+0+0 8-bit sRGB 256c 448KB 0.000u 0:00.000
tmp1_6_swap1.gif[16] GIF 240x160 240x160+0+0 8-bit sRGB 256c 448KB 0.000u 0:00.000
tmp1_6_swap1.gif[17] GIF 240x160 240x160+0+0 8-bit sRGB 256c 448KB 0.000u 0:00.000
P.S. Same in IM 7