Hi all,

I'm serving up some raster imagery with an alpha band that contains
partially transparent pixels using mapscript but when the image is rendered,
the partially transparent portions (alpha between 5 and 10) come through
completely opaque (alpha of 255).  Areas that are fully opaque or fully
transparent look fine.

I'm using an output format with the GD/PNG renderer with a RGBA image mode
and "transparent" set to true.  I've tried using the AGG/PNG and GDAL/PNG
renderers with the same result.

C# code for the output format:
map.outputformat.name = "PNG";
map.outputformat.driver = "GD/PNG";
map.outputformat.mimetype = "image/png";
map.outputformat.imagemode = (int)MS_IMAGEMODE.MS_IMAGEMODE_RGBA;
map.outputformat.extension = "png";
map.outputformat.transparent = 1;

Any ideas on what I'm doing wrong?

Thanks,

Jason
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to