[mapserver-users] JPEG and OVERSAMPLE_RATIO
Cédric MOULLET
cedric.moullet at gmail.com
Mon Dec 17 07:49:40 PST 2012
Hi,
Output formats:
OUTPUTFORMAT
NAME "png"
MIMETYPE "image/png"
DRIVER "AGG/PNG"
EXTENSION "png"
IMAGEMODE "RGBA"
TRANSPARENT TRUE
FORMATOPTION "INTERLACE=OFF"
END
OUTPUTFORMAT
NAME jpeg
DRIVER "AGG/JPEG"
MIMETYPE "image/jpeg"
IMAGEMODE RGB
FORMATOPTION QUALITY=100
EXTENSION "jpg"
END
URL's:
1.
https://picasaweb.google.com/lh/photo/j_OClw5fGOeQE7K1wiimytMTjNZETYmyPJy0liipFm0?feat=directlink
2.
https://picasaweb.google.com/lh/photo/3q52h52EwOp9JzZm3KAWbNMTjNZETYmyPJy0liipFm0?feat=directlink
3.
https://picasaweb.google.com/lh/photo/GTAThw7AOVMK-j-7DWAabtMTjNZETYmyPJy0liipFm0?feat=directlink
Thanks in advance for your help !
Cédric
On Mon, Dec 17, 2012 at 4:24 PM, thomas bonfort <thomas.bonfort at gmail.com>wrote:
> Can you post the outputformats defined in your mapfile, and the urls used
> to access each of these images?
>
> --
> thomas
>
>
> On Mon, Dec 17, 2012 at 4:18 PM, Cédric MOULLET <cedric.moullet at gmail.com>wrote:
>
>> I realize that links have been sent and not pictures
>> Here are reachable links for the three cases:
>> 1.
>> https://picasaweb.google.com/lh/photo/j_OClw5fGOeQE7K1wiimytMTjNZETYmyPJy0liipFm0?feat=directlink
>> 2.
>> https://picasaweb.google.com/lh/photo/3q52h52EwOp9JzZm3KAWbNMTjNZETYmyPJy0liipFm0?feat=directlink
>> 3.
>> https://picasaweb.google.com/lh/photo/GTAThw7AOVMK-j-7DWAabtMTjNZETYmyPJy0liipFm0?feat=directlink
>> Cédric
>>
>>
>> On Mon, Dec 17, 2012 at 4:11 PM, Cédric MOULLET <cedric.moullet at gmail.com
>> > wrote:
>>
>>> Hi,
>>> The following issue has been observed with MapServer 6.0.3:
>>>
>>> 1. Very good quality for a PNG with RESAMPLE=BILINEAR and
>>> OVERSAMPLE_RATIO=16:
>>> [image:
>>> http://wms-bgdi.bgdi.admin.ch/?lang=xx&LAYERS=ch.swisstopo.pixelkarte-grau-pk100_bazl&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3A21781&BBOX=513184,143152,519840,149808&WIDTH=256&HEIGHT=256]
>>>
>>> 2. Less good quality for a PNG or JPEG with default resampling settings:
>>> [image:
>>> http://wms-bgdi.bgdi.admin.ch/?lang=xx&LAYERS=ch.swisstopo.pixelkarte-grau-pk100_original&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3A21781&BBOX=513184,143152,519840,149808&WIDTH=256&HEIGHT=256]
>>>
>>> 3. Awful quality for JPEG with RESAMPLE=BILINEAR and OVERSAMPLE_RATIO=16:
>>> [image:
>>> http://wms-bgdi.bgdi.admin.ch/?lang=xx&LAYERS=ch.swisstopo.pixelkarte-grau-pk100_bazl&FORMAT=image%2Fjpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3A21781&BBOX=513184,143152,519840,149808&WIDTH=256&HEIGHT=256]
>>>
>>> Any idea why the OVERSAMPLE_RATIO affects heavily the quality of JPEG
>>> images ?
>>>
>>> Thanks in advance for your help,
>>> Cédric
>>>
>>
>>
>>
>> --
>> Political blog: http://cedricmoullet.blogspot.com/
>> 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
>>
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>>
>
--
Political blog: http://cedricmoullet.blogspot.com/
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/20121217/41616e35/attachment.htm>
More information about the MapServer-users
mailing list