tif picture becomes monocromatic in mapserver (png output)

luca marletta lucamarle at GMAIL.COM
Wed Jun 15 14:33:35 PDT 2005


I've already it.
Any other suggestions?

Below my output sections
OUTPUTFORMAT
	NAME png
	DRIVER "GD/PNG"
	MIMETYPE "image/png"
	IMAGEMODE RGB
	FORMATOPTION  INTERLACE=OFF
	TRANSPARENT OFF
END

OUTPUTFORMAT
	NAME png8
	DRIVER "GD/PNG"
	MIMETYPE "image/png"
	IMAGEMODE PC256
	FORMATOPTION  INTERLACE=OFF
	TRANSPARENT OFF
END

OUTPUTFORMAT
	NAME GTiff
	DRIVER "GDAL/GTiff"
	MIMETYPE "image/tiff"
	IMAGEMODE RGB
	#FORMATOPTION "TFW=YES"
	#FORMATOPTION "COMPRESS=PACKBITS"
END

On 6/15/05, Bill Binko <bill at binko.net> wrote:
 
> Try adding 'IMAGEMODE RGB' to your OUTPUTFORMAT section
> 
> PNG defaults to 256 colors, which will rapidly drop you down to
> black/white.

-- 
luca marletta  icq: 70590647



More information about the MapServer-users mailing list