[Mapserver-users] marker not transparent

uli uli.mueller@gmx.ch
Thu, 30 Oct 2003 13:47:34 +0100


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

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users