[mapserver-users] quality of 8bit image in 6.0

Richard Greenwood richard.greenwood at gmail.com
Sun Nov 13 13:57:39 EST 2011


Steve,

I put a small test set together at:
  http://www.greenwoodmap.com/mapserver-image-quality/test.zip
It has a shape file and two map files, one for mapserver 5 and another
for mapserver 6. There are a couple zoomed in mapext's in the comments
of the map5.map file so you can quickly get to a good location at a
couple representative scales.

PNG8 produces a nice quality image which is about 1/2 the size of the
default 24bit but still 4x the size of the ugly GIF. The pretty GIF
produced by mapserver 5.6 is the same size as the ugly GIF created by
mapserver 6.0.

Thanks!
Rich

On Sun, Nov 13, 2011 at 10:08 AM, Lime, Steve D (DNR)
<Steve.Lime at state.mn.us> wrote:
> Rich: Any chance you could put together a test case? Also, have you tried IMAGETYPE PNG8?
>
> Steve
> ________________________________________
> From: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org] on behalf of Richard Greenwood [richard.greenwood at gmail.com]
> Sent: Saturday, November 12, 2011 5:43 PM
> To: mapserver
> Subject: [mapserver-users] quality of 8bit image in 6.0
>
> I can not achieve the same quality of 8bit images in MapServer 6.0
> that I was able to in 5.6. I have links to 4 example images
>
> 1. MapServer 5.6 8bit gif, I like this and this is generally what I want:
> http://www.greenwoodmap.com/mapserver-image-quality/mapserv-5.6.gif
>
> 2. MapServer 6. 8bit gif. Kind of ragged, center line not in the
> middle of grey outlines.
> http://www.greenwoodmap.com/mapserver-image-quality/mapserv-6.0.1.gif
>
> 3. I submitted a related ticket 3962 which has been fixed (Thank you!)
> and the image is slightly better (compare  NW'ly edge of HWY 789 to
> above image)
> http://www.greenwoodmap.com/mapserver-image-quality/mapserv-6.0-ticket3962.gif
>
> 4. A 24bit png from MapServer 6.0. Beautiful, but 9x larger than the
> three above.
> http://www.greenwoodmap.com/mapserver-image-quality/mapserv-6.0.1.png
>
> I do not have an OUTPUTFORMAT block defined so I'm using default
> setting in 5.6 and 6.0. (I've fiddled with OUTPUTFORMAT but I
> generally seem to make things worse).
>
> Any suggestions would be greatly appreciated.
>
> Thanks,
> Rich
>
> --
> Richard Greenwood
> richard.greenwood at gmail.com
> www.greenwoodmap.com
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
>



-- 
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com


More information about the mapserver-users mailing list