i will do that thanks a lot.<br><br>Saludos<br><br><div class="gmail_quote">2010/1/6 Rahkonen Jukka <span dir="ltr"><<a href="mailto:Jukka.Rahkonen@mmmtike.fi">Jukka.Rahkonen@mmmtike.fi</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
Mapserver can always return images at least in png, jpeg and gif formats. You must explicitly tell it what format you want with WMS &FORMAT= parameter. You can check what kind of requests the client is sending from your Apache access.log file.<br>
<font color="#888888"><br>
-Jukka-<br>
</font><div><div></div><div class="h5"><br>
<br>
Valeria Muñoz wrote:<br>
<br>
I define PNG in the mapfile.<br>
<br>
RG<br>
<br>
2010/1/6 Rahkonen Jukka <<a href="mailto:Jukka.Rahkonen@mmmtike.fi">Jukka.Rahkonen@mmmtike.fi</a>><br>
<br>
> Hi,<br>
><br>
> Are you sure you are asking for png? Your client may have a default<br>
> setting for jpeg. The request should look like<br>
><br>
> <a href="http://localhost/cgi-bin/mapserv.exe?map=c" target="_blank">http://localhost/cgi-bin/mapserv.exe?map=c</a><br>
> :\ms4w\osm.map&REQUEST=GetMap&SERVICE=WMS<br>
> &VERSION=1.1.1&WIDTH=1059&HEIGHT=687&LAYERS=default&TRANSPARENT=TRUE<br>
> &FORMAT=image/png<br>
> &BBOX=3430775,6764522,3430932,6764624<br>
> &SRS=epsg:2393&STYLES=<br>
><br>
> -Jukka Rahkonen-<br>
><br>
> Valeria Muñoz wrote:<br>
><br>
><br>
> Hi!<br>
><br>
> i have a problem with the output image of my wms, i define PNG but return<br>
> JPEG.<br>
><br>
> Source mapfile<br>
><br>
> OUTPUTFORMAT<br>
> NAME png<br>
> DRIVER "AGG/PNG"<br>
> MIMETYPE 'image/png'<br>
> IMAGEMODE RGB<br>
> EXTENSION "png"<br>
> FORMATOPTION "TRANSPARENT=OFF"<br>
> FORMATOPTION "INTERLACE=ON"<br>
> END<br>
><br>
> source wms mapfile<br>
><br>
> OUTPUTFORMAT<br>
> NAME png<br>
> DRIVER "AGG/PNG"<br>
> MIMETYPE 'image/png'<br>
> IMAGEMODE RGB<br>
> EXTENSION "png"<br>
> FORMATOPTION "TRANSPARENT=OFF"<br>
> FORMATOPTION "INTERLACE=ON"<br>
> END<br>
><br>
><br>
> can you help me please?<br>
><br>
> RG<br>
><br>
><br>
<br>
</div></div></blockquote></div><br>