<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3603" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=204573913-14102009>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=204573913-14102009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=204573913-14102009>It is possible that rendering does not go through
agg. I am not sure, but perhaps by adding</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=204573913-14102009>MIMETYPE "image/png2"</SPAN></FONT></DIV>
<DIV><SPAN class=204573913-14102009></SPAN><FONT face=Arial><FONT
color=#0000ff><FONT size=2>to outputformat and calling <SPAN
class=204573913-14102009>either
</SPAN>&FORMAT=image/png2 or &FORMAT=image/png</FONT></FONT></FONT></DIV>
<DIV><SPAN class=204573913-14102009></SPAN><SPAN
class=204573913-14102009></SPAN><FONT face=Arial><FONT color=#0000ff><FONT
size=2>y<SPAN class=204573913-14102009>ou could do some
comparisons.</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=204573913-14102009></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=204573913-14102009>-Jukka Rahkonen-</SPAN></FONT></FONT></FONT></DIV>
<DIV><BR></DIV>
<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>Adrian
Popa<BR><B>Lähetetty:</B> 14. lokakuuta 2009 16:36<BR><B>Vastaanottaja:</B>
mapserver-users@lists.osgeo.org<BR><B>Aihe:</B> [mapserver-users] mapserver
produces interlaced PNGs even if I configured the map to output noninterlaced
PNGs<BR></FONT><BR></DIV>
<DIV></DIV>Hello all, <BR><BR>My goal is to setup tilecache (which is proving
to be a real pain), and so far I've noticed that even if I configured my map
to generate noninterlaced PNGs (instructions here: <A
class=moz-txt-link-freetext
href="http://www.mapserver.org/faq.html#why-doesn-t-pil-python-imaging-library-open-my-pngs">http://www.mapserver.org/faq.html#why-doesn-t-pil-python-imaging-library-open-my-pngs</A>),
it still generates interlaced PNGs.<BR><BR>Here is my outputformat (the only
one defined) in my map:<BR>OUTPUTFORMAT<BR> NAME
'AGG'<BR> DRIVER AGG/PNG<BR> IMAGEMODE
RGBA<BR> TRANSPARENT ON<BR> FORMATOPTION
"INTERLACE=OFF"<BR>END<BR><BR>The parameters that get sent to my mapserver
instance are:<BR>
<TABLE class="netInfoParamsText netInfoText netInfoParamsTable" cellSpacing=0
cellPadding=0 selected="true">
<TBODY class="">
<TR class="">
<TD class=netInfoParamName>BBOX</TD>
<TD class=netInfoParamValue><CODE
class="">2896046.12635,5831228.011975,2935181.884825,5870363.77045</CODE></TD></TR>
<TR class="">
<TD class=netInfoParamName>EXCEPTIONS</TD>
<TD class=netInfoParamValue><CODE
class="">application/vnd.ogc.se_inimage</CODE></TD></TR>
<TR class="">
<TD class=netInfoParamName>FORMAT</TD>
<TD class=netInfoParamValue><CODE class="">png</CODE></TD></TR>
<TR class="">
<TD class=netInfoParamName>HEIGHT</TD>
<TD class=netInfoParamValue><CODE class="">256</CODE></TD></TR>
<TR class="">
<TD class=netInfoParamName>LAYERS</TD>
<TD class=netInfoParamValue><CODE
class="">Judete,RuralSate,Rural,Urban,roads,roads-buc,buildings,GranitaJudete</CODE></TD></TR>
<TR class="">
<TD class=netInfoParamName>MAP</TD>
<TD class=netInfoParamValue><CODE
class="">/var/www/html/map/rtc_base.map</CODE></TD></TR>
<TR class="">
<TD class=netInfoParamName>MAP_IMAGETYPE</TD>
<TD class=netInfoParamValue><CODE class="">agg</CODE></TD></TR>
<TR class="">
<TD class=netInfoParamName>MAXEXTENT</TD>
<TD class=netInfoParamValue><CODE class="">left-bottom=(20.26,43.16)
right-top=(29.7,48.46)</CODE></TD></TR>
<TR class="">
<TD class=netInfoParamName>MAXRESOLUTION</TD>
<TD class=netInfoParamValue><CODE class="">156543</CODE></TD></TR>
<TR class="">
<TD class=netInfoParamName>REQUEST</TD>
<TD class=netInfoParamValue><CODE class="">GetMap</CODE></TD></TR>
<TR class="">
<TD class=netInfoParamName>SERVICE</TD>
<TD class=netInfoParamValue><CODE class="">WMS</CODE></TD></TR>
<TR class="">
<TD class=netInfoParamName>SRS</TD>
<TD class=netInfoParamValue><CODE class="">EPSG:900913</CODE></TD></TR>
<TR class="">
<TD class=netInfoParamName>STYLES</TD>
<TD class=netInfoParamValue><BR></TD></TR>
<TR class="">
<TD class=netInfoParamName>TRANSITIONEFFECT</TD>
<TD class=netInfoParamValue><CODE class="">resize</CODE></TD></TR>
<TR class="">
<TD class=netInfoParamName>TRANSPARENT</TD>
<TD class=netInfoParamValue><CODE class="">false</CODE></TD></TR>
<TR class="">
<TD class=netInfoParamName>UNITS</TD>
<TD class=netInfoParamValue><CODE class="">m</CODE></TD></TR>
<TR class="">
<TD class=netInfoParamName>VERSION</TD>
<TD class=netInfoParamValue><CODE class="">1.1.1</CODE></TD></TR>
<TR class="">
<TD class=netInfoParamName>WIDTH</TD>
<TD class=netInfoParamValue><CODE
class="">256</CODE></TD></TR></TBODY></TABLE><BR>I'm not sure if
MAP_IMAGETYPE=agg is the one which selects the outputformat or not, but the
map seems to be rendered with AGG (I could be wrong, of course).<BR><BR>So,
what am I missing here? Is there another parameter that should be sent to
mapserver to select the outputformat?<BR><BR>By the way, the image file
generated has these properties: img.png: PNG image, 256 x 256, 8-bit colormap,
interlaced<BR><BR>Thanks,<BR>Adrian<BR><BR></BLOCKQUOTE></BODY></HTML>