<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2900.3603" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=560463708-17112009>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=560463708-17112009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=560463708-17112009>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 face=Arial color=#0000ff size=2><SPAN
class=560463708-17112009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=560463708-17112009>-Jukka Rahkonen-</SPAN></FONT></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=fi dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Lähettäjä:</B>
mapserver-users-bounces@lists.osgeo.org
[mailto:mapserver-users-bounces@lists.osgeo.org] <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>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></BLOCKQUOTE></BODY></HTML>