[mapserver-users] Using IMAGECOLOR to create a transparency mask

Steve Lime Steve.Lime at dnr.state.mn.us
Thu Feb 5 14:04:27 EST 2009


IMAGECOLOR just sets the background color for an image.

Steve

>>> On 2/5/2009 at 1:02 PM, in message
<70fbea790902051102p52a8067ar643666f0562642f3 at mail.gmail.com>, Glenn Waldron
<gwaldron at gmail.com> wrote:
> Hi Thomas,
> 
> In that case maybe I am misunderstanding the purpose of IMAGECOLOR. What is
> it supposed to do, if not make all pixels of the specified color
> transparent?
> 
> 
> Glenn Waldron : Pelican Mapping : http://pelicanmapping.com :
> +1.703.652.4791
> 
> 
> On Thu, Feb 5, 2009 at 1:24 PM, thomas bonfort 
> <thomas.bonfort at gmail.com>wrote:
> 
>> On Thu, Feb 5, 2009 at 14:43, Glenn Waldron <gwaldron at gmail.com> wrote:
>> > Stephen,
>> >
>> >  However, I am trying to
>> > get the pixels in the final composited image to be completely
>> transparent.
>> >
>>
>> There's no way you can set pixels to become transparent once the image
>> is saved with the AGG outputformat.
>>
>> regards,
>> thomas
>>



More information about the mapserver-users mailing list