Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re^2: Imager::GIF seems broken

by Anonymous Monk
on Jan 05, 2020 at 15:50 UTC ( [id://11110986]=note: print w/replies, xml ) Need Help??

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.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11110986]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-07-16 07:26 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.