[Mapserver-users] Transparency values - confusion

Frank Warmerdam warmerdam at pobox.com
Fri Mar 14 10:51:28 EST 2003


Havard Tveite wrote:
> Frank Warmerdam wrote:
>  > Dylan Keon wrote:
>  >> 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.
>  >
>  > I will dig into this.  I am pretty sure it is my fault.
> 
> I think that the PNG24 way of doing things should be the
> preferred, so I hope that "PNG" (8 bit) behaviour and the
> documentation can be changed!

Hi,

Well, the semantics are really up to Steve Lime.  Steve, could you
clarify that TRANSPARENT is supposed to work like the mapfile reference
says, with TRANSPARENT=100 meaning opaque and TRANSPARENT=0 meaning
completely transparent?  Any interest in reversing that?

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent





More information about the mapserver-users mailing list