[mapserver-users] PNG Optimization

Cédric MOULLET cedric.moullet at gmail.com
Fri Dec 10 01:21:28 EST 2010


Hi,
We are using MapServer to generate tiles and the following ouptut format is
used:

OUTPUTFORMAT
 NAME "pnga"
 MIMETYPE "image/pnga"
 DRIVER "AGG/PNG"
 EXTENSION "png"
 IMAGEMODE "RGBA"
 TRANSPARENT TRUE
 FORMATOPTION "INTERLACE=OFF"
END

We observe that the size of the tiles can be reduced by a at least factor 2
if we use a tool like optipng.
Is it possible to configure MapServer in order to optimize the file output
(and for example use optipng)  ? Or do you see another way to optimize the
image (I'd like to do that on the MapServer side in order to avoid a
postprocessing) ?
Thanks in advance for any hints.
Cédric

-- 
Welcome to my world: http://www.cedricmoullet.com/
My Linked In profile: http://www.linkedin.com/in/cedricmoullet
Twitter: http://twitter.com/cedricmoullet
Home sweet home:
http://map.geo.admin.ch/?crosshair=bowl&zoom=11&X=185241.24219&Y=561288.90625&bgOpacity=0&selectedNode=node_ch.swisstopo.fixpunkte-lage1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20101210/b4968f50/attachment.html


More information about the mapserver-users mailing list