<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Dec 17, 2012 at 4:49 PM, Cédric MOULLET <span dir="ltr"><<a href="mailto:cedric.moullet@gmail.com" target="_blank">cedric.moullet@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>Output formats:<br><br>OUTPUTFORMAT<br> NAME "png"<br> MIMETYPE "image/png"<br> DRIVER "AGG/PNG"<br>
EXTENSION "png"<br> IMAGEMODE "RGBA"<br> TRANSPARENT TRUE<br>
FORMATOPTION "INTERLACE=OFF"<br>END<br><br>OUTPUTFORMAT<br> NAME jpeg<br> DRIVER "AGG/JPEG"<br> MIMETYPE "image/jpeg"<br> IMAGEMODE RGB<br></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
FORMATOPTION QUALITY=100<br></blockquote><div>does changing this to values between 80 and 99 change something ?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
EXTENSION "jpg"<br>
END
<br><br>URL's:<div class="im"><br><br>1. <a href="https://picasaweb.google.com/lh/photo/j_OClw5fGOeQE7K1wiimytMTjNZETYmyPJy0liipFm0?feat=directlink" target="_blank">https://picasaweb.google.com/lh/photo/j_OClw5fGOeQE7K1wiimytMTjNZETYmyPJy0liipFm0?feat=directlink</a><br>
2. <a href="https://picasaweb.google.com/lh/photo/3q52h52EwOp9JzZm3KAWbNMTjNZETYmyPJy0liipFm0?feat=directlink" target="_blank">https://picasaweb.google.com/lh/photo/3q52h52EwOp9JzZm3KAWbNMTjNZETYmyPJy0liipFm0?feat=directlink</a><br>
3. <a href="https://picasaweb.google.com/lh/photo/GTAThw7AOVMK-j-7DWAabtMTjNZETYmyPJy0liipFm0?feat=directlink" target="_blank">https://picasaweb.google.com/lh/photo/GTAThw7AOVMK-j-7DWAabtMTjNZETYmyPJy0liipFm0?feat=directlink</a><br>
<br></div>Thanks in advance for your help !<span class="HOEnZb"><font color="#888888"><br>Cédric</font></span><div class="HOEnZb"><div class="h5"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Dec 17, 2012 at 4:24 PM, thomas bonfort <span dir="ltr"><<a href="mailto:thomas.bonfort@gmail.com" target="_blank">thomas.bonfort@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Can you post the outputformats defined in your mapfile, and the urls used to access each of these images?<div><br></div>
<div>--</div><div>thomas</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Mon, Dec 17, 2012 at 4:18 PM, Cédric MOULLET <span dir="ltr"><<a href="mailto:cedric.moullet@gmail.com" target="_blank">cedric.moullet@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>I realize that links have been sent and not pictures<br>Here are reachable links for the three cases:<br>
1. <a href="https://picasaweb.google.com/lh/photo/j_OClw5fGOeQE7K1wiimytMTjNZETYmyPJy0liipFm0?feat=directlink" target="_blank">https://picasaweb.google.com/lh/photo/j_OClw5fGOeQE7K1wiimytMTjNZETYmyPJy0liipFm0?feat=directlink</a><br>
2. <a href="https://picasaweb.google.com/lh/photo/3q52h52EwOp9JzZm3KAWbNMTjNZETYmyPJy0liipFm0?feat=directlink" target="_blank">https://picasaweb.google.com/lh/photo/3q52h52EwOp9JzZm3KAWbNMTjNZETYmyPJy0liipFm0?feat=directlink</a><br>
3. <a href="https://picasaweb.google.com/lh/photo/GTAThw7AOVMK-j-7DWAabtMTjNZETYmyPJy0liipFm0?feat=directlink" target="_blank">https://picasaweb.google.com/lh/photo/GTAThw7AOVMK-j-7DWAabtMTjNZETYmyPJy0liipFm0?feat=directlink</a><br>
Cédric<br><div class="gmail_extra"><div><div><br><br><div class="gmail_quote">On Mon, Dec 17, 2012 at 4:11 PM, Cédric MOULLET <span dir="ltr"><<a href="mailto:cedric.moullet@gmail.com" target="_blank">cedric.moullet@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>The following issue has been observed with MapServer 6.0.3:<br><br>1. Very good quality for a PNG with RESAMPLE=BILINEAR and OVERSAMPLE_RATIO=16:<br>
<img alt="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"><br>
<br>2. Less good quality for a PNG or JPEG with default resampling settings:<br><img alt="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"><br>
<br>3. Awful quality for JPEG with RESAMPLE=BILINEAR and OVERSAMPLE_RATIO=16:<br><img alt="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"><br>
<br>Any idea why the OVERSAMPLE_RATIO affects heavily the quality of JPEG images ?<br><br>Thanks in advance for your help,<br>Cédric<br>
</blockquote></div><br><br clear="all"><br></div></div><span><font color="#888888">-- <br><div>Political blog: <a href="http://cedricmoullet.blogspot.com/" target="_blank">http://cedricmoullet.blogspot.com/</a><br>
Welcome to my world: <a href="http://www.cedricmoullet.com/" target="_blank">http://www.cedricmoullet.com/</a><br>
My Linked In profile: <a href="http://www.linkedin.com/in/cedricmoullet" target="_blank">http://www.linkedin.com/in/cedricmoullet</a><br>Twitter: <a href="http://twitter.com/cedricmoullet" target="_blank">http://twitter.com/cedricmoullet</a></div>
<div>Home sweet home: <a href="http://map.geo.admin.ch/?crosshair=bowl&zoom=11&X=185241.24219&Y=561288.90625&bgOpacity=0&selectedNode=node_ch.swisstopo.fixpunkte-lage1" target="_blank">http://map.geo.admin.ch/?crosshair=bowl&zoom=11&X=185241.24219&Y=561288.90625&bgOpacity=0&selectedNode=node_ch.swisstopo.fixpunkte-lage1</a></div>
<br>
</font></span></div>
<br></div></div>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><br>-- <br><div>Political blog: <a href="http://cedricmoullet.blogspot.com/" target="_blank">http://cedricmoullet.blogspot.com/</a><br>Welcome to my world: <a href="http://www.cedricmoullet.com/" target="_blank">http://www.cedricmoullet.com/</a><br>
My Linked In profile: <a href="http://www.linkedin.com/in/cedricmoullet" target="_blank">http://www.linkedin.com/in/cedricmoullet</a><br>Twitter: <a href="http://twitter.com/cedricmoullet" target="_blank">http://twitter.com/cedricmoullet</a></div>
<div>Home sweet home: <a href="http://map.geo.admin.ch/?crosshair=bowl&zoom=11&X=185241.24219&Y=561288.90625&bgOpacity=0&selectedNode=node_ch.swisstopo.fixpunkte-lage1" target="_blank">http://map.geo.admin.ch/?crosshair=bowl&zoom=11&X=185241.24219&Y=561288.90625&bgOpacity=0&selectedNode=node_ch.swisstopo.fixpunkte-lage1</a></div>
<br>
</div>
</div></div></blockquote></div><br></div>