<div dir="ltr"><div>Hi Marco, <br><br>Thanks for the reply<br><br>I created an issue : <a href="http://hub.qgis.org/issues/10361">http://hub.qgis.org/issues/10361</a><br><br></div><div>I agree with you that a parameter per project is enough.<br>
</div><div><br></div><div>Regards,<br></div>Michael<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-05-26 17:12 GMT+02:00 Marco Hugentobler <span dir="ltr"><<a href="mailto:marco.hugentobler@sourcepole.ch" target="_blank">marco.hugentobler@sourcepole.ch</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi Michael<br>
<br>
At the moment, the compression rate is left to the Qt library both
for png and jpeg (-1 is given to QImage::save). I agree it will be
usefull to change from client or from project.<div class=""><br>
<br>
<div>>Why not <br>
>FORMAT=image%2Fjpeg%3B compression%3D90<br>
</div>
>I guess it is not standard ? <br>
<br></div>
The problem here is that there has to be a new parameter for each
compression rate. It might be better to have the possibility to
configure the image quality in the project or by giving an
optional parameter for the image quality (0-100 as the Qt
parameter). So if the parameter is not there, the project setting
is used. And if the setting is not set, -1 is used as it is now.<br>
<br>
Regards,<br>
Marco<div><div class="h5"><br>
<br>
On 23.05.2014 18:44, kimaidou wrote:<br>
</div></div></div>
<blockquote type="cite"><div><div class="h5">
<div dir="ltr">
<div>
<div>Or even better, having it layer per layer. Like we do for
png , for example<br>
FORMAT=image%2Fpng%3B mode%3D8bit -> image 8 bits<br>
<br>
</div>
Why not <br>
FORMAT=image%2Fjpeg%3B compression%3D90<br>
</div>
I guess it is not standard ?<br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2014-05-23 18:36 GMT+02:00 Paolo
Cavallini <span dir="ltr"><<a href="mailto:cavallini@faunalia.it" target="_blank">cavallini@faunalia.it</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Or even better, having a config at runtime, project by
project.<br>
<br>
<div class="gmail_quote">
<div>
<div>
On 23 maggio 2014 18:33:00 CEST, kimaidou <<a href="mailto:kimaidou@gmail.com" target="_blank">kimaidou@gmail.com</a>>
wrote:</div>
</div>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>Hi devs, Marco, René-Luc,<br>
<br>
</div>
I have some people giving feedback about
the current JPEG compression. Many users
think the "FORMAT=image/jpeg" parameters
in the GetMap requests produce poor
quality images.<br>
<br>
</div>
I guess the "80%" rate is used. I think it
could be enough to increase it to 90 to
produce better looking images (I personaly
create my pyramid with this option with
gdal), or better to leave the choice when
installing QGIS Server by using a config
parameter.<br>
<br>
</div>
Any feedback welcome<br>
<br>
</div>
Michael<br>
</div>
</div>
</div>
<pre><hr>
Qgis-developer mailing list
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
</blockquote>
</div>
<span><font color="#888888"><br>
-- <br>
<a href="http://faunalia.eu/" target="_blank">http://faunalia.eu/</a></font></span></div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Qgis-developer mailing list
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<br>
<pre cols="72">--
Dr. Marco Hugentobler
Sourcepole - Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
<a href="mailto:marco.hugentobler@sourcepole.ch" target="_blank">marco.hugentobler@sourcepole.ch</a> <a href="http://www.sourcepole.ch" target="_blank">http://www.sourcepole.ch</a>
Technical Advisor QGIS Project Steering Committee </pre>
</font></span></div>
<br>_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br></blockquote></div><br></div>