convert fails to produce gif87a format

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
djd
Posts: 41
Joined: 2011-11-12T22:20:18-07:00
Authentication code: 8675308

convert fails to produce gif87a format

Post by djd »

OS: Windows XP

Version: ImageMagick 6.5.8-3 2009-11-28 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
Features: OpenMP

convert -size 200x200 xc:white gif89.gif

convert -list format
....
GIF* GIF rw+ CompuServe graphics interchange format
GIF87* GIF rw- CompuServe graphics interchange format (version 87a)
....

convert gif89.gif -format GIF87 gif87.gif

# giffer extracts parameters from a gif file including the 6 byte identifier.

giffer gif89.gif
Header=GIF89a
....

giffer gif87.gif
Header=GIF89a
....

Thus, unless I have misused it, the GIF87 option appears to have failed.
Can it be fixed?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: convert fails to produce gif87a format

Post by magick »

To generate a GIF87 image, use this command:
  • convert gif89.gif gif87:gif87.gif
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: convert fails to produce gif87a format

Post by anthony »

See IM Examples, Common Formats, GIF,Related GIF Output formats
http://www.imagemagick.org/Usage/formats/#gif87
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply