Rép. : [MAPSERVER-USERS] PNG Image for symbol
SIMON MERCIER
simon.mercier at msp.gouv.qc.ca
Thu Mar 13 06:08:41 PDT 2008
Hi aloha
what is your output format image? ... maybe you can try PNG and insert the RGBA imagemode in your mapfile... Mapserver use a the PC256 imagemode by default...
OUTPUTFORMAT
NAME "png"
MIMETYPE "image/png"
DRIVER "GD/PNG"
EXTENSION "png"
IMAGEMODE RGBA
TRANSPARENT ON
END
good luck
>>> ClackJim <jimlug at co.clackamas.or.us> 12/3/2008 14:34 >>>
Aloha,
I am trying to use a PNG image for a symbol on a point layer. The problem I
am running into is that the background of the PNG image is filling in with a
greyish blue color. The PNG image was created using photoshop and the
background was transparent. I've placed the symbol in my symbol file and
the mapfile is referencing the symbol.
# Symbol File #
SYMBOL
NAME 'arson2'
TYPE PIXMAP
IMAGE '/home/mapserv/proj/pmap/arson2.png'
TRANSPARENT 0
END
# MapFile #
STYLE
SYMBOL 'arson2'
COLOR 0 0 0
OUTLINECOLOR 0 0 0
END
Here is what the image is supposed to look like:
http://www.nabble.com/file/p15994400/arson2.png
Has anyone experienced this issue?
--
View this message in context: http://www.nabble.com/PNG-Image-for-symbol-tp15994400p15994400.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080313/92b5226a/attachment.htm>
More information about the MapServer-users
mailing list