Daniel Kasak schreef:

> I'm after a Perl graphing library that includes alpha blending
> support. I've checked out GD::Graph, but it *doesn't* support alpha
> blending. Are there any options? I know of jpgraph for PHP ( which is
> excellent for open-source stuff, but the commercial license is too
> expensive ).

If PHP is OK, check out PEAR:Image_Graph http://pear.veggerby.dk/
Image examples:
http://pear.veggerby.dk/samples/show/id/image_fill/
http://pear.veggerby.dk/samples/show/id/misc04/
http://pear.veggerby.dk/samples/show/id/misc05/ (2 Y-axis)
http://pear.veggerby.dk/samples/show/id/multiple_plots/
http://pear.veggerby.dk/samples/show/id/plot_odo/
http://pear.veggerby.dk/samples/show/id/plot_radar/
http://pear.veggerby.dk/samples/show/id/plot_radar_smooth/

Alpha blending is implicit in GD though (inside the color information),
so you should be able to use it.
See http://search.cpan.org/dist/GD/GD.pm (colorAllocateAlpha(),
saveAlpha(1), alphaBlending(0), PNG).
The set_clr() of GD::Graph could easily be enhanced.
But PEAR::Image_Graph already has all that, and much more.

-- 
Affijn, Ruud

"Gewoon is een tijger."


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to