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'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"><<a href="mailto:thomas.bonfort@gmail.com">thomas.bonfort@gmail.com</a>></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'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 <<a href="mailto:gwaldron@gmail.com">gwaldron@gmail.com</a>> wrote:<br>
> Hi Steve,<br>
><br>
> I am trying to achieve the transparency effect as described in the<br>
> documentation:<br>
> "IMAGECOLOR [r] [g] [b]Color to initialize the map with (i.e. background<br>
> color). When transparency is enabled (TRANSPARENT ON) for the typical case<br>
> of 8-bit pseudocolored map generation, this color will be marked as<br>
> transparent in the output file palette. Any other map components drawn in<br>
> this color will also be transparent, so for map generation with transparency<br>
> it is best to use an otherwise unused color as the background color."Perhaps<br>
> I'm not clear on what constitutes "8-bit pseudocolored map generation". I am<br>
> using the AGG/PNG driver with TRANSPARENT ON.<br>
><br>
><br>
> Glenn Waldron : Pelican Mapping : <a href="http://pelicanmapping.com" target="_blank">http://pelicanmapping.com</a> :<br>
> +1.703.652.4791<br>
><br>
><br>
> On Thu, Feb 5, 2009 at 2:04 PM, Steve Lime <<a href="mailto:Steve.Lime@dnr.state.mn.us">Steve.Lime@dnr.state.mn.us</a>><br>
> wrote:<br>
>><br>
>> IMAGECOLOR just sets the background color for an image.<br>
>><br>
>> Steve<br>
>><br>
>> >>> On 2/5/2009 at 1:02 PM, in message<br>
>> <<a href="mailto:70fbea790902051102p52a8067ar643666f0562642f3@mail.gmail.com">70fbea790902051102p52a8067ar643666f0562642f3@mail.gmail.com</a>>, Glenn<br>
>> Waldron<br>
>> <<a href="mailto:gwaldron@gmail.com">gwaldron@gmail.com</a>> wrote:<br>
>> > Hi Thomas,<br>
>> ><br>
>> > In that case maybe I am misunderstanding the purpose of IMAGECOLOR. What<br>
>> > is<br>
>> > it supposed to do, if not make all pixels of the specified color<br>
>> > transparent?<br>
>> ><br>
>> ><br>
>> > Glenn Waldron : Pelican Mapping : <a href="http://pelicanmapping.com" target="_blank">http://pelicanmapping.com</a> :<br>
>> > +1.703.652.4791<br>
>> ><br>
>> ><br>
>> > On Thu, Feb 5, 2009 at 1:24 PM, thomas bonfort<br>
>> > <<a href="mailto:thomas.bonfort@gmail.com">thomas.bonfort@gmail.com</a>>wrote:<br>
>> ><br>
>> >> On Thu, Feb 5, 2009 at 14:43, Glenn Waldron <<a href="mailto:gwaldron@gmail.com">gwaldron@gmail.com</a>> wrote:<br>
>> >> > Stephen,<br>
>> >> ><br>
>> >> > However, I am trying to<br>
>> >> > get the pixels in the final composited image to be completely<br>
>> >> transparent.<br>
>> >> ><br>
>> >><br>
>> >> There's no way you can set pixels to become transparent once the image<br>
>> >> is saved with the AGG outputformat.<br>
>> >><br>
>> >> regards,<br>
>> >> thomas<br>
>> >><br>
>><br>
><br>
><br>
</div></div><div><div></div><div class="Wj3C7c">> _______________________________________________<br>
> mapserver-users mailing list<br>
> <a href="mailto:mapserver-users@lists.osgeo.org">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>
><br>
</div></div></blockquote></div><br>