[Mapserver-users] HOWTO: 24 bit png on WMS interface
Bart van den Eijnden
bartvde at xs4all.nl
Tue Jan 27 10:52:29 PST 2004
Hi list,
thanks to Frank Warmerdam I have solved my problem with not getting 24 bit
PNG output in Mapserver.
In my MAP file I used the following:
IMAGETYPE PNG24
and then in my WMS request I used format=image/png
This caused 8-bit PNG to be generated instead of 24-bit PNG.
The solution Frank suggested is using the following OUTPUTFORMAT in my MAP
file and this works:
OUTPUTFORMAT
NAME PNG24
DRIVER "GD/PNG"
MIMETYPE "image/png"
EXTENSION PNG
IMAGEMODE RGBA
TRANSPARENT ON
END
Maybe something for the Mapserver WMS HOWTO?
Best regards,
Bart
More information about the MapServer-users
mailing list