[Mapserver-users] Transparency values - confusion
Dylan Keon
keon at nacse.org
Thu Mar 13 12:02:52 PST 2003
> --- Dylan Keon <keon at nacse.org> 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.
>
randy james wrote:
> I have been testing outputformat and switching between
> PNG and PNG24 and never had to change anything. Have
> you been using outputformat?
Yep, I'm using OUTPUTFORMAT for both. I can toggle between the
imagetypes and see the transparency change on a polygon layer when I
refresh the map.
#IMAGETYPE png8
IMAGETYPE png24
OUTPUTFORMAT
NAME png8
DRIVER "GD/PNG"
MIMETYPE "image/png"
IMAGEMODE PC256
FORMATOPTION "INTERLACE=ON"
END
OUTPUTFORMAT
NAME png24
DRIVER "GD/PNG"
MIMETYPE "image/png"
IMAGEMODE RGB
FORMATOPTION "INTERLACE=ON"
END
LAYER
NAME boundary
STATUS ON
TYPE POLYGON
DATA sevbnd83
TRANSPARENCY 35
CLASS
NAME "Boundary"
OUTLINECOLOR 110 110 110
COLOR 243 248 245
END
END
More information about the MapServer-users
mailing list