On 2008-01-08 12:51-0000 Andrew Ross wrote: > > Hazen, > > Many thanks for this. It's a useful feature to have and I'm glad someone > has finally got round to starting to code it in. I've added support for > alpha values to the gd driver too so hopefully more people can test it out. > > Note that libgd uses integer alpha values in the range 0-127 with 0 > being opaque. This is quite different to the convention in cairo, and > also now in plplot. I'm happy to stick with the 0.0-1.0 range with 1.0 > as opaque though since this seems more natural. I'm fairly sure this is > what I have seen elsewhere too.
My thanks to both Hazen for the initial effort and Andrew for the libgd followup. There are no obvious build problems on Debian testing with the new alpha transparency capability, and the (libgd) PNG results for example 30 look like a nice demonstration of the new capability. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel