Hi Marco,

Thanks for the reply

I created an issue : http://hub.qgis.org/issues/10361

I agree with you that a parameter per project is enough.

Regards,
Michael


2014-05-26 17:12 GMT+02:00 Marco Hugentobler <
[email protected]>:

>  Hi Michael
>
> 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.
>
>
> >Why not
> >FORMAT=image%2Fjpeg%3B compression%3D90
>  >I guess it is not standard ?
>
> 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.
>
> Regards,
> Marco
>
>
> On 23.05.2014 18:44, kimaidou wrote:
>
>  Or even better, having it layer per layer. Like we do for png , for
> example
> FORMAT=image%2Fpng%3B mode%3D8bit  -> image 8 bits
>
>  Why not
> FORMAT=image%2Fjpeg%3B compression%3D90
>  I guess it is not standard ?
>
>
> 2014-05-23 18:36 GMT+02:00 Paolo Cavallini <[email protected]>:
>
>> Or even better, having a config at runtime, project by project.
>>
>>   On 23 maggio 2014 18:33:00 CEST, kimaidou <[email protected]> wrote:
>>
>>>    Hi devs, Marco, René-Luc,
>>>
>>>  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.
>>>
>>>  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.
>>>
>>>  Any feedback welcome
>>>
>>>  Michael
>>>
>>> ------------------------------
>>>
>>> Qgis-developer mailing [email protected]
>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>
>>>
>> --
>> http://faunalia.eu/
>>
>
>
>
> _______________________________________________
> Qgis-developer mailing 
> [email protected]http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
> --
> Dr. Marco Hugentobler
> Sourcepole -  Linux & Open Source Solutions
> Weberstrasse 5, CH-8004 Zürich, [email protected] 
> http://www.sourcepole.ch
> Technical Advisor QGIS Project Steering Committee
>
>
> _______________________________________________
> Qgis-developer mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to