Ticket #3848 (closed defect: fixed)
Faulty image/png; mode=8bit output if source image has overviews
|Reported by:||jratike80||Owned by:||tbonfort|
|Component:||Renderer API||Version:||svn-trunk (development)|
MapServer 6.0 beta versions create occasionally odd coloured output images if the outputformat is image/png; mode=8bit and if the source image has overviews. Odd output occurs at some scale ranges only, but the issue can be repeated so that a certain WMS request yields always an odd looking result. Typically all 256 palette entries in the output image are presenting very dark colours. The same error can also be achieved by using the following outputformat OUTPUTFORMAT
NAME 'AGG_Q' MIMETYPE "image/png" DRIVER "AGG/PNG" EXTENSION "png" IMAGEMODE RGB FORMATOPTION "QUANTIZE_FORCE=ON" FORMATOPTION "QUANTIZE_DITHER=OFF" FORMATOPTION "QUANTIZE_COLORS=256"
MapServer v. 5.6.5 works OK with this outputformat even if the source image has overviews.