Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: Graphing in perl

by gryphon (Abbot)
on Apr 23, 2002 at 16:05 UTC ( #161350=note: print w/replies, xml ) Need Help??

in reply to Graphing in perl

Greetings surfmonkey,

Recently I used GD and GD::Graph to do some graphing for a Web application. It originally ran under Windows and ActivePerl, then later on FreeBSD. Make sure you install all the required libraries both up and down the "chain" of modules. However, it appears to work just fine for me. Of course, with the new version of GD, you can only output PNG graphics (maybe JPG too) -- no GIFs. Too bad, I say. However, PNG seems to be supported on NS4+|6+ & IE5+, so it's not that bad of an option.

Follow-up question: Anyone know an easy Perl way to convert PNG graphics to GIF? Or even better, a way to output GIF graphics with the new version of GD? Just curious.

code('Perl') || die;

Replies are listed 'Best First'.
Re: Re: Graphing in perl
by agentv (Friar) on Apr 24, 2002 at 01:32 UTC
    ...the support for GIF images in GD fell out of the module after the technology leaders at Unisys decided to invoke the rights of their (cr@&&y) patent on compression technology.

    The entire incident was an embarrassment to the high-tech community where most of us know that public domain algorithms exist for compression that are superior to the method used in the GIF format.

    PNG graphics are just fine for web use and they do offer some more sophisticated features (such as translucent color definitions) than the GIF format anyway.

    Meanwhile the technology giants at Unisys are distracted currently from their jealous defense of their patent on obsolete technology while they team up with Microsoft to attempt to convince the world that Unix is expensive and inflexible technology.

    Their latest ad campaign extols the virtues of the much more flexible Windows system that (according to its creator) still isn't flexible enough to disassociate middleware without breaking the whole thing.

    I say that the folks who believe the newest marketing campaign by Microsoft and Unisys will get what they richly deserve. In the meantime, you could either use PNG images that you create with perl and GD, or you can try the ImageMagik modules which may still support GIF format. Or you can get an older version of GD for your system (CPAN still exposes the older GIF-inclusive version).


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2020-10-29 08:51 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (269 votes). Check out past polls.