[mapserver-dev] transparent color

Yewondwossen Assefa yassefa at dmsolutions.ca
Wed Apr 7 16:33:55 EDT 2010


Frank Warmerdam wrote:
>
> Also,  I find in the mapsymbol.h include file that colorObj now has an
> alpha field.  I'm not clear on how widely this is being used, or 
> whether it
> is intended to be the "future" of transparency.
>
> Should we document -255 -255 -255 as transparent? Promote use of alpha?
>
I came across this same question recently re. the alpha field. There was 
an old bug discussing partly this issue  
(http://trac.osgeo.org/mapserver/ticket/2052) and from my understanding,
the style level opacity parameter should be the one to use/promote for 
the for transparency.

> Feedback is welcome!
>
> Best regards,


-- 
----------------------------------------------------------------
Assefa Yewondwossen           
Software Analyst   

Email: yassefa at dmsolutions.ca    
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------




More information about the mapserver-dev mailing list