<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi Thomas<br>
    <br>
    You could try to reduce the image size using 8bit PNGs, see the 3rd
    output format in <a class="moz-txt-link-freetext" href="http://mapserver.org/mapfile/outputformat.html">http://mapserver.org/mapfile/outputformat.html</a>.<br>
    <br>
    Peter<br>
    <br>
    On 04/12/2012 06:20 AM, Thomas Joseph wrote:
    <blockquote
      cite="mid:65BEB16FA7472A47ADFC80A42BF04FE801ADC1BA@awtsbs01"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <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]-->
      <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.&nbsp; I was just wondering
          if&nbsp; there is a way to turn off the anti-alias for polyline
          rendering in Mapserver 6.0.&nbsp; From the documentation it
          appeared that the previous GD driver did not include
          anti-alias by default.&nbsp;&nbsp; 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.&nbsp; 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>&nbsp;</o:p></p>
        <p class="MsoNormal">OUTPUTFORMAT<o:p></o:p></p>
        <p class="MsoNormal">&nbsp; NAME "GDpng"<o:p></o:p></p>
        <p class="MsoNormal">&nbsp; DRIVER GD/PNG<o:p></o:p></p>
        <p class="MsoNormal">&nbsp; MIMETYPE "image/png"<o:p></o:p></p>
        <p class="MsoNormal">&nbsp; IMAGEMODE RGB<o:p></o:p></p>
        <p class="MsoNormal">&nbsp; EXTENSION "png"<o:p></o:p></p>
        <p class="MsoNormal">END<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</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.&nbsp; Any suggestions
          would be greatly appreciated.&nbsp; If you need additional
          information let me know.<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">tom<o:p></o:p></p>
        <p class="MsoNormal" style=""><span style="color: rgb(31, 73,
            125);"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal" style=""><span style="color: rgb(31, 73,
            125);"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal" style=""><span style="color: rgb(31, 73,
            125);"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal" style=""><span style="color: rgb(31, 73,
            125);"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal" style=""><span style="color: rgb(31, 73,
            125);"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal" style=""><span style="color: rgb(31, 73,
            125);"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
      </div>
      <!--[object_id=#awtwater.com#]-->
      <p align="left">&nbsp;</p>
      <p align="left">
      </p>
      <hr>
      <p align="left">THIS EMAIL IS CONFIDENTIAL.&nbsp; Its use or disclosure
        by any person other than the addressee is unauthorised.&nbsp; Anyone
        other than the intended recipient must not rely on the content
        of this email or any attachment to it.&nbsp; 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">
      </p>
      <hr>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
    </blockquote>
    -- <br>
    <pre class="moz-signature" cols="72">Peter Hopfgartner
<a class="moz-txt-link-freetext" href="http://www.r3-gis.com">http://www.r3-gis.com</a>

</pre>
  </body>
</html>