in reply to Re: Imager::GIF seems broken
in thread Imager::GIF seems broken

Thanks marto but your example demonstrates why we need Imager::GIF. Using Imager to transform animated GIFs will only save the first frame of the animation. Imager::GIF does the dirty work of taking apart the animation, transforming each image, and putting it back together again.

Replies are listed 'Best First'.
Re^3: Imager::GIF seems broken
by marto (Cardinal) on Jan 05, 2020 at 15:59 UTC

    I'm glad you found a solution, your previous post would make a good patch.

      > a good patch

      I'm not sure if the documentation is broken, or the module itself. The docs are consistent with how Imager usually works (using "new" to make object and possibly load data, or using "read" on object to load data, then giving "file => $file" hash to write method). Patching the docs would get the current module working for people, whereas patching the module would make it conform to the docs and work like usual Imager code.

      🤔

        Raising your findings/concerns as an issue would be good, helpful to anyone else who may run into the same problem you did.