[Mapserver-users] Transparency values - confusion
randy james
rjames57 at yahoo.com
Thu Mar 13 13:11:10 PST 2003
Hi
Mine is like this:
<!-- MapServer version 3.7 (development) OUTPUT=PNG
OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ SUPPORTS=TTF
SUPPORTS=WMS_SERVER SUPPORTS=GD2_RGB INPUT=EPPL7
INPUT=JPEG INPUT=POSTGIS INPUT=GDAL INPUT=SHAPEFILE
-->
IMAGETYPE png24
OUTPUTFORMAT
NAME png24
MIMETYPE "image/png"
DRIVER "GD/png"
IMAGEMODE PC256
END
layer
data "92i_mod"
name 'aoa'
status off
type polygon
transparency 30
# 1 class #none
class
name 'aoa_mod'
color 255 255 0
end
end
Cheers
Randy
--- Dylan Keon <keon at nacse.org> wrote:
> > --- 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
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
>
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com
More information about the MapServer-users
mailing list