Steve Loughran wrote:
Well, my attempts at loading in animated/multi-page GIFs has come to a stop.

Image:ParseGIF seems to create "invalid gifs" (but its last update was 1999 apparently!), DIBitmap doesnt handle them at all (due to it using an earlier version of FreeImage), Imager::Files only supports native M$ file formats on win32 (and the extra libraries it requires to support GIFs are a right pain to get running on win32... if it will work at all), and GD can create animated GIFs but has no mention anywhere of how to load them.

So I am stuck. Does anyone have any pointers to any perl code/modules that will help me load animated/multi-page GIFs and extract the individual images?


It's many years since I played with ImageMagick, but it may do what you need. Find info about the Perl wrapper at
http://www.imagemagick.org/script/perl-magick.php

I can see version 6.2.8 of Image::Magick in ActiveState's ppm repository.

I can't immediately see anything that says it reads animated GIFs, but would be surprised if it doesn't.

Rob.

Reply via email to