Thanks Thomas, I believe this answers my question. Sounds like I will not be able to do what I want inside MapServer and still do 24-bit color. <br><br>Thanks again for your (and everyone&#39;s) help.<br><br><br clear="all">
Glenn Waldron : Pelican Mapping : <a href="http://pelicanmapping.com">http://pelicanmapping.com</a> : +1.703.652.4791<br>
<br><br><div class="gmail_quote">On Thu, Feb 5, 2009 at 3:16 PM, thomas bonfort <span dir="ltr">&lt;<a href="mailto:thomas.bonfort@gmail.com">thomas.bonfort@gmail.com</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;">
this is meant to be applied with paletted images, ie<br>
IMAGEMODE PC256<br>
which is only supported with the gd driver. having a single fully<br>
transparent color is not compatible with antialiasing, so you&#39;re<br>
better off sticking with gd anyways if you have this transparency<br>
requirement.<br>
<br>
regards,<br>
<font color="#888888">thomas<br>
</font><div><div></div><div class="Wj3C7c"><br>
On Thu, Feb 5, 2009 at 21:03, Glenn Waldron &lt;<a href="mailto:gwaldron@gmail.com">gwaldron@gmail.com</a>&gt; wrote:<br>
&gt; Hi Steve,<br>
&gt;<br>
&gt; I am trying to achieve the transparency effect as described in the<br>
&gt; documentation:<br>
&gt; &quot;IMAGECOLOR [r] [g] [b]Color to initialize the map with (i.e. background<br>
&gt; color). When transparency is enabled (TRANSPARENT ON) for the typical case<br>
&gt; of 8-bit pseudocolored map generation, this color will be marked as<br>
&gt; transparent in the output file palette. Any other map components drawn in<br>
&gt; this color will also be transparent, so for map generation with transparency<br>
&gt; it is best to use an otherwise unused color as the background color.&quot;Perhaps<br>
&gt; I&#39;m not clear on what constitutes &quot;8-bit pseudocolored map generation&quot;. I am<br>
&gt; using the AGG/PNG driver with TRANSPARENT ON.<br>
&gt;<br>
&gt;<br>
&gt; Glenn Waldron : Pelican Mapping : <a href="http://pelicanmapping.com" target="_blank">http://pelicanmapping.com</a> :<br>
&gt; +1.703.652.4791<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Feb 5, 2009 at 2:04 PM, Steve Lime &lt;<a href="mailto:Steve.Lime@dnr.state.mn.us">Steve.Lime@dnr.state.mn.us</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; IMAGECOLOR just sets the background color for an image.<br>
&gt;&gt;<br>
&gt;&gt; Steve<br>
&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; On 2/5/2009 at 1:02 PM, in message<br>
&gt;&gt; &lt;<a href="mailto:70fbea790902051102p52a8067ar643666f0562642f3@mail.gmail.com">70fbea790902051102p52a8067ar643666f0562642f3@mail.gmail.com</a>&gt;, Glenn<br>
&gt;&gt; Waldron<br>
&gt;&gt; &lt;<a href="mailto:gwaldron@gmail.com">gwaldron@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; Hi Thomas,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; In that case maybe I am misunderstanding the purpose of IMAGECOLOR. What<br>
&gt;&gt; &gt; is<br>
&gt;&gt; &gt; it supposed to do, if not make all pixels of the specified color<br>
&gt;&gt; &gt; transparent?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Glenn Waldron : Pelican Mapping : <a href="http://pelicanmapping.com" target="_blank">http://pelicanmapping.com</a> :<br>
&gt;&gt; &gt; +1.703.652.4791<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Thu, Feb 5, 2009 at 1:24 PM, thomas bonfort<br>
&gt;&gt; &gt; &lt;<a href="mailto:thomas.bonfort@gmail.com">thomas.bonfort@gmail.com</a>&gt;wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; On Thu, Feb 5, 2009 at 14:43, Glenn Waldron &lt;<a href="mailto:gwaldron@gmail.com">gwaldron@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt;&gt; &gt; Stephen,<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; &nbsp;However, I am trying to<br>
&gt;&gt; &gt;&gt; &gt; get the pixels in the final composited image to be completely<br>
&gt;&gt; &gt;&gt; transparent.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; There&#39;s no way you can set pixels to become transparent once the image<br>
&gt;&gt; &gt;&gt; is saved with the AGG outputformat.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; regards,<br>
&gt;&gt; &gt;&gt; thomas<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
</div></div><div><div></div><div class="Wj3C7c">&gt; _______________________________________________<br>
&gt; mapserver-users mailing list<br>
&gt; <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>