Here is an animation I made:
http://www.fmwconcepts.com/misc_tests/a ... tmp1_6.gif
If I use the following to get the animation frame size,
Code: Select all
identify -format "%f[%s] %m %b %[size] %wx%h %g %T \n" tmp1_6.gif
Code: Select all
tmp1_6.gif[0] GIF 0B 490KB 240x160 240x160+0+0 20
tmp1_6.gif[1] GIF 0B 490KB 240x160 240x160+0+0 20
tmp1_6.gif[2] GIF 0B 490KB 240x160 240x160+0+0 20
tmp1_6.gif[3] GIF 0B 490KB 240x160 240x160+0+0 20
tmp1_6.gif[4] GIF 0B 490KB 240x160 240x160+0+0 20
tmp1_6.gif[5] GIF 0B 490KB 240x160 240x160+0+0 20
tmp1_6.gif[6] GIF 0B 490KB 240x160 240x160+0+0 20
tmp1_6.gif[7] GIF 0B 490KB 240x160 240x160+0+0 20
tmp1_6.gif[8] GIF 0B 490KB 240x160 240x160+0+0 20
tmp1_6.gif[9] GIF 0B 490KB 240x160 240x160+0+0 20
tmp1_6.gif[10] GIF 0B 490KB 240x160 240x160+0+0 20
tmp1_6.gif[11] GIF 0B 490KB 240x160 240x160+0+0 20
tmp1_6.gif[12] GIF 0B 490KB 240x160 240x160+0+0 20
tmp1_6.gif[13] GIF 0B 490KB 240x160 240x160+0+0 20
tmp1_6.gif[14] GIF 0B 490KB 240x160 240x160+0+0 20
tmp1_6.gif[15] GIF 0B 490KB 240x160 240x160+0+0 20
tmp1_6.gif[16] GIF 0B 490KB 240x160 240x160+0+0 20
tmp1_6.gif[17] GIF 490KB 490KB 240x160 240x160+0+0 20
%[size] shows 490 KB for all frames
But if I do
Code: Select all
convert tmp1_6.gif[0] gif:- | identify -format "%f[%s] %m %b %[size] %wx%h %g %T \n" -
Code: Select all
-[0] GIF 31.2KB 31.2KB 240x160 240x160+0+0 20
Is there some other string format that shows this without the pipe? and why does %b show 0 for all but the last frame?