<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>We have recently upgraded from Mapserver 5.7 to 6.0 and although the AGG anti-alias lines look great the output image size has increased significantly from the previous rendering without anti-alias. I was just wondering if there is a way to turn off the anti-alias for polyline rendering in Mapserver 6.0. From the documentation it appeared that the previous GD driver did not include anti-alias by default. We have attempted to switch the outputformat from the new default AGG to the previous GD driver using the outputformat directive in the map file as shown below. This changed the image size slightly suggesting that mapserver was using a different driver to render, however the lines were still rendered with anti-alias on and the image was still relatively large compared to previous mapserver verison.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>OUTPUTFORMAT<o:p></o:p></p><p class=MsoNormal> NAME "GDpng"<o:p></o:p></p><p class=MsoNormal> DRIVER GD/PNG<o:p></o:p></p><p class=MsoNormal> MIMETYPE "image/png"<o:p></o:p></p><p class=MsoNormal> IMAGEMODE RGB<o:p></o:p></p><p class=MsoNormal> EXTENSION "png"<o:p></o:p></p><p class=MsoNormal>END<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Previously in Mapserver 5.7 we did not specify an outputformat we simply used IMAGETYPE PNG24 and the output was generated without anti-alias. Any suggestions would be greatly appreciated. If you need additional information let me know.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>tom<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto'><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto'><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto'><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto'><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto'><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto'><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div><!--[object_id=#awtwater.com#]--><P align=left> </P>
<P align=left>
<HR>
<P></P>
<P align=left>THIS EMAIL IS CONFIDENTIAL. Its use or disclosure by any person other than the addressee is unauthorised. Anyone other than the intended recipient must not rely on the content of this email or any attachment to it. The sender cannot guarantee that this email or any attachment to it is free of computer viruses or other conditions which may damage or interfere with other computer systems.</P>
<P align=left>
<HR>
<P></P></body></html>