[mapserver-users] WMS layer image format parameters

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Fri Nov 16 23:55:21 PST 2012


Hi,

You can define your own outputformat for AGG/JPEG and use formatoption "quality"
http://www.mapserver.org/mapfile/outputformat.html

I do not know if variable substitution works in this place so that users could add an extra parameter to the request as &QUALITY=100 but you can have a try. At least you can make new outputformats with different names, for example "image/jpegHQ" for high quality.

-Jukka Rahkonen-

________________________________
Ian Walberg wrote:


> Folks,

> I can only see the image type in the WMS request, say png or jpeg.

> Can we configure the compression level of the images in the wms server map file?

> I cannot see any mention of how to do this anywhere.

> Thanks

Ian



More information about the MapServer-users mailing list