<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">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.<br>
<br>
<div>>Why not <br>
>FORMAT=image%2Fjpeg%3B compression%3D90<br>
</div>
>I guess it is not standard ? <br>
<br>
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<br>
<br>
On 23.05.2014 18:44, kimaidou wrote:<br>
</div>
<blockquote
cite="mid:CAMKXKO6pdesASaVpSwTCXh2AWq8E=+H2P+qcyEEv+3ga+xyv2A@mail.gmail.com"
type="cite">
<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 moz-do-not-send="true"
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 class="h5">
On 23 maggio 2014 18:33:00 CEST, kimaidou <<a
moz-do-not-send="true"
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 class="h5">
<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 moz-do-not-send="true" href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a>
<a moz-do-not-send="true" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
</blockquote>
</div>
<span class="HOEnZb"><font color="#888888"><br>
-- <br>
<a moz-do-not-send="true" href="http://faunalia.eu/"
target="_blank">http://faunalia.eu/</a></font></span></div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Qgis-developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Dr. Marco Hugentobler
Sourcepole - Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
<a class="moz-txt-link-abbreviated" href="mailto:marco.hugentobler@sourcepole.ch">marco.hugentobler@sourcepole.ch</a> <a class="moz-txt-link-freetext" href="http://www.sourcepole.ch">http://www.sourcepole.ch</a>
Technical Advisor QGIS Project Steering Committee </pre>
</body>
</html>