Transparent pixmaps in Mapserver 4.4.1
Sean Gillies
sgillies at FRII.COM
Thu Jan 27 14:53:42 PST 2005
On Jan 27, 2005, at 3:42 PM, Camden Daily wrote:
> Thanks Sean. I'll make a bugzilla report for the MS_ALPHA value.
>
> The image I'm outputting is a 24bit jpeg. So I need to get the
> 'transparency alpha' to work properly.
>
> My symbol definition is
>
> SYMBOL
> NAME 'house'
> TYPE PIXMAP
> IMAGE 'images/house.png'
> TRANSPARENT 0
> END
>
> Do I need the 'transparent 0' line, if the png file itself has a
> transparent background? Commenting it out doesn't resolve my issue,
> but I'm not entirely certain what it's for.
>
>
Take a look at the unit testing data under mapserver-4.4.0/tests. The
RGB test.png file is the end result of using test.map, symbols.txt,
home.png, and xmarks.png.
Sean
--
Sean Gillies
sgillies at frii dot com
http://users.frii.com/sgillies
More information about the MapServer-users
mailing list