Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: GD module has no support for animated gifs

by Anonymous Monk
on Dec 23, 2025 at 22:06 UTC ( [id://11167000]=note: print w/replies, xml ) Need Help??


in reply to GD module has no support for animated gifs

(not the OP-AM, just my 2c; and I wrote this just before pryrt provided better answer, but anyway)

Unlike e.g. SP 5.32, the latest SPs (e.g. 5.42) ship without the "c/bin/gdlib-config.bat" file. Perhaps an oversight by SP maintainers.

Without it, the "GD/Makefile.PL" assumes the worst on how GD was compiled, i.e. no GIF animation support. Imho, it's somewhat sloppy and convoluted anyway (see e.g. line #566) (another example: in absence of "gdlib-config", it seems to both find and _not_ to find the "c/lib/pkgconfig/gdlib.pc" file at the same time; it's quite messy).

So, to untangle everything properly seems like too heavy a task; what I did is just inject "GD_GIFANIM" into a list at line #628; and then "cpanm ." It installs smoothly and I've managed to create a simple animated GIF.

  • Comment on Re: GD module has no support for animated gifs

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2026-05-11 09:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.