<!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.3492" name=GENERATOR></HEAD>
<BODY 
style="WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break: after-white-space">
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=349534608-14052009>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=349534608-14052009></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=349534608-14052009>Not so that everybody gets answered, sometimes nobody 
just knows the answer, and after all, this is voluntary.&nbsp; But still, I can 
see from the archives that Thomas Bonfort had a try&nbsp;on the same day and 
only one and a half hours delayed :)</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=349534608-14052009></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=349534608-14052009>-Jukka Rahkonen-</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=349534608-14052009></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=349534608-14052009></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr align=left><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>David 
Nugent<BR><B>Lähetetty:</B> 14. toukokuuta 2009 8:01<BR><B>Vastaanottaja:</B> 
David Nugent<BR><B>Kopio:</B> mapserver-users@lists.osgeo.org<BR><B>Aihe:</B> 
Re: [mapserver-users] Mapserver rendering with 24 bit 
colour<BR></FONT><BR></DIV>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV>
  <DIV>On 06/05/2009, at 1:52 PM, David Nugent wrote:</DIV><BR 
  class=Apple-interchange-newline>
  <BLOCKQUOTE type="cite">
    <DIV 
    style="WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break: after-white-space">
    <DIV><SPAN class=Apple-style-span style="COLOR: rgb(0,0,0)">Once I completed 
    upgrading to mapserver 5.4, I decided I'd give the new AGG renderer a 
    try.</SPAN></DIV>
    <DIV>~</DIV>
    <DIV><SPAN class=Apple-style-span style="COLOR: rgb(0,0,0)">However, as a 
    by-product of changing renderer, the metatiles produced by mapserver differ 
    slightly in colour. Some agree exactly to the RBG colours I am providing, 
    others are rendered with slight variations, and when viewed on the web it 
    becomes fairly obvious where the meta tile borders 
  are.</SPAN></DIV></DIV></BLOCKQUOTE></DIV>
  <DIV><BR></DIV>
  <DIV><BR></DIV>
  <DIV>This is to follow up on my own question to which I received no response 
  either on the list or otherwise in case anyone else runs into the same or a 
  similar problem.</DIV>
  <DIV><BR></DIV>
  <DIV>I finally found the problem in that the php mapscript had a bug, and that 
  "AGG_Q" (AGG with quantize enabled) was being selected regardless that I was 
  trying to tell it to do it differently. Once I correctly set it to AGG without 
  quantize, the colour variation between tiles disappeared and all is 
well.</DIV>
  <DIV><BR></DIV>
  <DIV>One interesting aspect of this is that the average file size did not 
  increase significantly when dropping quantize although in general the tiles 
  rendered using AGG are around 40-50% larger than PNG8.</DIV>
  <DIV><BR></DIV>Regards,<BR>
  <DIV apple-content-edited="true"><SPAN class=Apple-style-span 
  style="WORD-SPACING: 0px; FONT: 12px 'Lucida Grande'; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px; webkit-text-decorations-in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px">
  <DIV 
  style="WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break: after-white-space">
  <DIV>
  <DIV apple-content-edited="true">
  <DIV>
  <DIV>
  <DIV>
  <DIV>
  <DIV>
  <DIV>
  <DIV>
  <DIV>
  <DIV>
  <DIV>
  <DIV>
  <DIV>
  <DIV>
  <DIV apple-content-edited="true">
  <DIV>
  <DIV>
  <DIV>
  <DIV>
  <DIV>
  <DIV>
  <DIV>
  <DIV>
  <DIV>
  <DIV>
  <DIV apple-content-edited="true">
  <DIV>
  <DIV>
  <DIV>
  <DIV>
  <DIV>
  <DIV>
  <DIV>
  <DIV>--</DIV>
  <DIV>David Nugent&nbsp;(<A 
  href="mailto:davidn@datalinktech.com.au">davidn@datalinktech.com.au</A>)</DIV>
  <DIV>Software Engineer</DIV>
  <DIV>datalink&nbsp;technologies pty ltd</DIV>
  <DIV>Mobile GPS/GPRS business process solutions</DIV>
  <DIV><A 
  href="http://www.datalinktech.com.au/">http://www.datalinktech.com.au/</A></DIV>
  <DIV><BR></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></SPAN><BR 
  class=Apple-interchange-newline></DIV><BR></BLOCKQUOTE></BODY></HTML>