Hi, Jukka<br>Thank you for your reply, first.<br>However, if I use other format, how can I make the displayed picture clearer, is not there a win-win way ?<br><br><div class="gmail_quote">On Tue, Nov 17, 2009 at 4:39 PM, Rahkonen Jukka <span dir="ltr"><<a href="mailto:Jukka.Rahkonen@mmmtike.fi">Jukka.Rahkonen@mmmtike.fi</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>Hi,</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>Jpeg problem is due to format itself, jpeg cannot be
transparent so it will not work in the way you want.</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>-Jukka Rahkonen-</span></font></div><br>
<blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div dir="ltr" align="left" lang="fi">
<hr>
<font face="Tahoma" size="2"><b>Lähettäjä:</b>
<a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a>] <b>Puolesta
</b>???<br><b>Lähetetty:</b> 17. marraskuuta 2009
10:15<br><b>Vastaanottaja:</b> mapserver-users<br><b>Aihe:</b>
[mapserver-users] outputformat problem in mapfile<br></font><br></div><div><div></div><div class="h5">
<div></div>hello all,<br>I want to display a raster JPEG picture (about 100M)
in ka-map through mapserver. However, when I set the outputformat to PNG or
GIF in the mapfile, it looks ugly when zoomed out. It is a little better to
use JPEG, although it is clear as the origin picture only being zoomed in
enough. If I use JPEG as the output format, there is another problem ---only
the layer above others can be displayed (I want to display all chosen layers).
Any body can help me? Some codes about the raster layer in my mapfile are as
following:<br><br clear="all">IMAGETYPE jpeg<br>OUTPUTFORMAT<br>NAME
jpeg<br>DRIVER "GD/JPEG"<br>MIMETYPE "image/jpeg"<br>IMAGEMODE
RGBA<br>EXTENSION "jpg"<br>TRANSPARENT on<br>FORMATOPTION
QUALITY=100 #value=0-100<br>END<br>layer<br>name
test<br>type raster<br>status on<br>data "data/20km.jpg"<br>class<br>name
"outline"<br>outlinecolor 255 0 0<br>end<br>end<br>end<br>BTW, I can not
set class name as Chinese characters, otherwise it will become disorderly
codes in ka-map. Any suggestion are welcome. My operating system is
FreeBSD7.1Release, my locale is UTF-8.<br><br><br><br><br><br>--
<br>天道酬勤<br></div></div></blockquote></div>
</blockquote></div><br><br clear="all"><br>-- <br>天道酬勤<br>