<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Times New Roman, Times, serif">"wms-getmap_formatlist"
works, but if I specify "</font><font face="Times New Roman,
Times, serif">image/jpeg,image/png; mode=8bit,image/gif", qgis
doesn't offer png as an output format anymore. It just doen't know
8-bits png. I saw they are working on it:<br>
<br>
<a class="moz-txt-link-freetext" href="https://github.com/qgis/Quantum-GIS/commit/3a2c0e9872270fbd62d6bfcd9149d9d2a16c09cf">https://github.com/qgis/Quantum-GIS/commit/3a2c0e9872270fbd62d6bfcd9149d9d2a16c09cf</a><br>
<br>
So, it's a qgis problem. The metadata item is nice to know,
though.<br>
<br>
Thanks,<br>
<br>
Jan </font><br>
On 03/12/2012 03:03 PM, Rahkonen Jukka wrote:
<blockquote
cite="mid:84446DEF76453C439E9E97E438E13A63083F5B@suutari.haapa.mmm.fi"
type="cite">
<pre wrap="">Hi,
I would have a try by defining a 8-bit png outputformat for img/png MIME type and using wms_getmap_formatlist in the metadata. How have you defined the png8 now in your mapfile?
-Jukka Rahkonen-
________________________________
Jan Hartmann wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi all,
</pre>
</blockquote>
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">Is there a way to restrict the output types Mapserver offers as a WMS service, e.g. only png 8-bits? In QGIS, when I choose "png" as output for a WMS layer, I always get back png24 rasters, even if I explicitly specify png8 as outputtype in the mapfile.
</pre>
</blockquote>
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">Not sure if this would be according to the WMS specs, though.
Jan
</pre>
</blockquote>
<pre wrap="">
_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
</blockquote>
</body>
</html>