Page 1 of 1

Re: (ASAP) DISAPPEAR GIF 89a PLAINTEXT extension

Posted: 2009-06-07T22:01:50-07:00
by anthony
Yes the GIF file format allows for a "comment" attribute. It does not however allow 'label' meta-data attributes.

This is looked at as part of the "montage" command in IM examples.
http://www.imagemagick.org/Usage/montage/#label

Specifically...

Code: Select all

   convert -comment 'my_comment'   rose:      rose.gif
OR

Code: Select all

  convert rose: -set comment 'my_comment'  rose.gif
You can see these with...

Code: Select all

  identify -format 'file: %f\ncomment: %c'  rose.gif
which returned...
file: rose.gif
comment: my_comment

Now if this is dissappearing it is because you did not try to preserve the meta-data.

For example overlaying a GIF onto another image will use the other images meta-data. The GIF meta-data will not be merged! To preserve the meta-data the 'destination' or 'background' image must be used in alpha composition.