Resize animated gif images

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

You can resize an animated GIF like this, for example:
  • convert movie.gif -resize 50% small_movie.gif
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony »

GIF is a horrible image format for general images, as because of this resizing can produce a lot of problems with regard to transparency, and color handleing between frames. It can especially cause major optimization problems.

IM Examples has unfortunatally not looks at this probelm fully,
http://www.cit.gu.edu.au/~anthony/graph ... ns/#resize
but is getting there, especially now that the new destions on color quantization and dithering is basically complete.

I suggest you look at it and of course submit your commits and additions to me.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply