[Mapserver-users] Transparency values - confusion

Dylan Keon keon at nacse.org
Thu Mar 13 14:30:04 EST 2003


Havard Tveite wrote:
> For IMAGETYPE PNG in my build, a TRANSPARENCY value of 90
> gives me 10 % transparency, while for IMAGETYPE PNG24 and
> IMAGETYPE JPEG, a TRANSPARENCY value of 90 gives me 90%
> transparency (for me, the latter is the expected behaviour).

I've noticed the same thing in 3.7.  When I switch between 8-bit and 
24-bit output I have to invert my transparency values (i.e., change 25 
to 75 and vice-versa) to get the same effect.

--Dylan




More information about the mapserver-users mailing list