[mapserver-users] question about TRANSPARENT ON

Stephen Woodbridge woodbri at swoodbridge.com
Fri Oct 16 17:17:26 EDT 2009


Richard,

Try:

FORMATOPTION "TRANSPARENT=ON"

-Steve W

Richard Greenwood wrote:
> I have been using  TRANSPARENT ON  in the MAP section of my map file,
> but the documentation says that is deprecated and to use the
> FORMATOPTION. I'm trying to do this, but not getting transparent
> images back. I am creating PNG images with MapServer 5.4.2. My output
> format is as follows:
> 
> OUTPUTFORMAT
> 	NAME png
> 	DRIVER "GD/PNG"
> 	MIMETYPE "image/png"
> 	IMAGEMODE PC256
> 	EXTENSION "png"
> 	FORMATOPTION "TRANSPARENT ON"
> END
> 
> What am I missing?
> 
> Thanks,



More information about the mapserver-users mailing list