<p dir="ltr">OK, i check for a a bug. What jpeg library lib is used ?</p>
<div class="gmail_quote">Il 24/feb/2014 11:33 "Andreas Neumann" <<a href="mailto:a.neumann@carto.net">a.neumann@carto.net</a>> ha scritto:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Andrea,<br>
<br>
If jpeg output isn't working for your there is something wrong with your<br>
installation (maybe the jpeg library is not properly linked).<br>
<br>
I think that JPEG output is useful for orthoimages. Most other maps<br>
where you have a lot of homogeneous areas with few colors are better<br>
handled by PNG 8bit. PNG is somewhere in between. As you said - only PNG<br>
can handle transparency, if you add TRANSPARENT=TRUE in your GetMap request.<br>
<br>
I don't think that you can filter the available output formats with QGIS<br>
server. I also think that it is not too useful to filter the formats.<br>
There may be WMS clients that can only handle JPEG and not PNG or<br>
vice/versa. You don't want to exclude these clients. You never know<br>
exactly who your clients are - so better offer a wider selection of formats.<br>
<br>
Andreas<br>
<br>
Am 23.02.2014 09:24, schrieb Andrea Peri:<br>
> Hi,<br>
> Using qgis-server I have three kind of outpup format:<br>
><br>
> png, png8 and jpeg.<br>
><br>
> QGIS use by default the jpeg output,<br>
> but unfortunately it seem don't work correctly infact the jpeg output is<br>
> always a white image.<br>
><br>
> Instead the png output format work perfectly.<br>
><br>
> I'm not interesting to understand why jpeg will return a white image,<br>
> infact the jpeg is not a good format for my need. It don't allow the<br>
> trasparent.<br>
> So I prefer surely if the qgis-server don't return the jpeg in the list of<br>
> output format.<br>
> For my need is sufficient the only png format.<br>
><br>
> There is an option to choose the availability output formats in the<br>
> getcapabilites response ?<br>
><br>
> Thx,<br>
><br>
><br>
><br>
> _______________________________________________<br>
> Qgis-user mailing list<br>
> <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
><br>
<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div>