Hey Chris,<br><br>Thanks for the guess, setting transparent to 0
doesn&#39;t get rid of the issue, just makes the background default to
white with full opacity.<br><br>I found the issue, I was setting
PROCESSING=BILINEAR which apparently doesn&#39;t work well with partially
transparent pixels.  Going back to nearest seems to work fine.<br>
<br>Thanks!<br><br>Jason<br><br><div class="gmail_quote">On Wed, Sep 16, 2009 at 7:20 PM, Chris Hodgson <span dir="ltr">&lt;<a href="mailto:chodgson@refractions.net">chodgson@refractions.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Just a guess but have you tried with transparent = 0? Just wondering if the transparent mode rendering is somehow overriding the RGBA alpha mode rendering?<br>
<br>
Chris<br>
<br>
Jason Beverage wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
Hi all,<br>
<br>
I&#39;m serving up some raster imagery with an alpha band that contains partially transparent pixels using mapscript but when the image is rendered, the partially transparent portions (alpha between 5 and 10) come through completely opaque (alpha of 255).  Areas that are fully opaque or fully transparent look fine. <br>


I&#39;m using an output format with the GD/PNG renderer with a RGBA image mode and &quot;transparent&quot; set to true.  I&#39;ve tried using the AGG/PNG and GDAL/PNG renderers with the same result.<br>
<br>
C# code for the output format:<br>
</div><a href="http://map.outputformat.name" target="_blank">map.outputformat.name</a> &lt;<a href="http://map.outputformat.name" target="_blank">http://map.outputformat.name</a>&gt; = &quot;PNG&quot;;<div class="im"><br>


map.outputformat.driver = &quot;GD/PNG&quot;;<br>
map.outputformat.mimetype = &quot;image/png&quot;;<br>
map.outputformat.imagemode = (int)MS_IMAGEMODE.MS_IMAGEMODE_RGBA;<br>
map.outputformat.extension = &quot;png&quot;;<br>
map.outputformat.transparent = 1;<br>
<br>
Any ideas on what I&#39;m doing wrong?<br>
<br>
Thanks,<br>
<br>
Jason<br></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
  <br>
</blockquote>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div><br>