[mapserver-users] WMS layer image format parameters
Ian Walberg
ian.walberg at airborne.aero
Sat Nov 17 08:21:24 PST 2012
Jukka,
Thanks, so the WMS request does use the normal output format definition.
Regards
Ian
-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Rahkonen
Jukka
Sent: Friday, November 16, 2012 11:55 PM
To: mapserver
Subject: Re: [mapserver-users] WMS layer image format parameters
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
_______________________________________________
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