Page 1 of 1

Posted: 2006-08-21T18:21:38-07:00
by magick
To determines the number of frames in an animated GIF image, use the identify command, for example:
  • identify animate.gif

Posted: 2006-08-21T19:38:19-07:00
by anthony
To append to the bottom of all frames, you don't need to know how many frames their are. You only need to work out a technique that will add it to ALL frames at the same time..

Append is not the solution as it ia multi image orperator.

Try using splice to add space, the -draw image to overlay the image you want
into that space. Both operations understand gravity!

Altrunativally, for a GIF animation that is an simple 'overlay' animation just expand and add the label to the first frame. It will remain on each of the later frames :-)

This is the exact same technique that was used to replace a transparent background of a GIF animation..
http://www.cit.gu.edu.au/~anthony/graph ... s/#flatten

Posted: 2006-08-31T19:48:45-07:00
by anthony
First your $i may not be a two character digit, which you said you need.

As for the Assertion, what version are you using. I have notified chrisy of such failures when I have seen then with the smallest command I can figure out that has that problem. Assertion failure generally point to some more serious mistake in the coding, and should NOT happen. Make sure you update you IM version, and try again, then report the minimal command that causes it.

PS: -transparent white is no longer a GIF handling option. It just converts any color that is purely the color given to transparency (automatically adding a alpha channel if needed). EG it is a special form of -opaque operator.
IM examples rough notes, on specific color replacement...
http://www.cit.gu.edu.au/~anthony/graph ... e/#replace

To set the GIF transparency color (which can co-exist with the same opaque color)
use -transparent-color. See latest updates in..
http://www.cit.gu.edu.au/~anthony/graph ... #gif_trans
this is with the latest versions on IM.