C++ – Fast Graphics library which can support Animated GIFs

cgraphicsimagemagick

I am using ImageMagick with animated gifs but it is very slow. Taking twenty seconds for a single animation. Is there an alternate C/C++ graphics library which is fast? A good result may be those libraries that can handle huge images. But do any of those support animated GIFs?

These are the features I am needing:

  • Split animated GIF into completely rendered frames, save in any format.
  • Change certain colors in these resulting images to White
  • Crop out a portion of each of the resulting images.
  • Recreate an animated GIF with 2 frames, from the resulting 2 images above. This GIF should be optimized. Delay on the first frame differs from delay on last frame.

It needs to be fast, much faster than either imagemagic or graphicsmagic.

Best Answer

giflib [to parse the GIF format and save to] and C++ (for the image processing). This seems the best solution for me. Also using ImageMagick's Magick++ library could improve performance a bit.

Related Topic