[mapserver-users] MS 6.0 beta6 and faulty image/png; mode=8bit output if source image has overviews

thomas bonfort thomas.bonfort at gmail.com
Tue Apr 19 01:27:47 PDT 2011


Erik,
the png compression that is applied is now configurable, and defaults
to "6". You can set it as it was by default in 5.6 for quantized
output with
FORMATOPTION "COMPRESSION=9"

please post your image size after the change.

--
thomas

On Tue, Apr 19, 2011 at 10:14, Erik Gustafson <gustafson.erik at gmail.com> wrote:
> On Tue, Apr 19, 2011 at 9:39 AM, thomas bonfort
> <thomas.bonfort at gmail.com> wrote:
>> please test with trunk and report back if you're still having the
>> error: http://trac.osgeo.org/mapserver/ticket/3848
>
> My test case from yesterday has correct colors with trunk of today!
> The resulting image went from 56kb to 130kb though. (512x512pixels, 3
> colors defined in mapfile). With mapserver 5.6.6 the image size is
> 74kb.
>
> I'm using shp2img and default settings in outputformat as shown in the
> mapfile earlier in this thread. Maybe some default setting has changed
> between 5.6 and 6.0?
>
> Regards
> Erik Gustafson
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>



More information about the MapServer-users mailing list