[Mapserver-users] marker not transparent

uli uli.mueller at gmx.ch
Thu Oct 30 07:47:34 EST 2003


I have a pixmap marker symbol with 4 paletted colors. I wish the color with
index 1 to be transparent.

When I choose an OUTPUTFORMAT with IMAGEMODE RGB the color is not
transparent. With OUTPUTFORMAT  -> IMAGEMODE PC256 it works fine (but I need
RGB-colors).

I tried to export the marker as GIF and PNG without any difference.
Drivers tested were  DRIVER "GD/PNG" and DRIVER "GD/JPEG" - without
difference.

Is this GD/MS normal behavior, a bug or my mistake?

Uli

/usr/local/httpd/cgi-bin/mapserv -v
MapServer version 4.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=EPPL7 INPUT=JPEG INPUT=POSTGIS
INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE



SYMBOL
	NAME 'somemarker'
	TYPE pixmap
	TRANSPARENT 1
	IMAGE 'graphics/somemarker.png'
END




More information about the mapserver-users mailing list