transparent symbol

Flavio Hendry flavio at TYDAC.CH
Wed Aug 3 01:22:58 PDT 2005


Hi Lluis

in the layer saction set the following

TRANSPARENCY 1000 
(or TRANSPARENCY ALPHA)

Mit freundlichem Gruss / Best Regards
Flavio Hendry

----------------------------------------------------------------
TYDAC NEWS http://www.tydac.ch/german/index.php?menu=News_actual
----------------------------------------------------------------
############      Mit freundlichen Gruessen / Kind Regards
############             mailto:flavio at tydac.ch
############         TYDAC AG - http://www.tydac.ch
####    ####        Geographic Information Solutions
####    ####         Luternauweg 12 -- CH-3006 Bern
############   Tel +41 (0)31 368 0180 - Fax +41 (0)31 368 1860
----------------------------------------------------------------


-----Original Message-----
From: Lluís Garcia i Mestres <lluisgm at GMAIL.COM>
To: MAPSERVER-USERS at LISTS.UMN.EDU
Date: Thu, 28 Jul 2005 20:13:37 +0200
Subject: [UMN_MAPSERVER-USERS] transparent symbol

> Hi list,
> I'm trying to implement pixmap symbols transparent. I was following
> the 
> current documentation but it's a litlle confusing with the inde
> color. In my 
> case, I have a white background that I want to skip. How can I figure
> out 
> what is my index color for a white background?
>   The outputformat of the map is the following:
> 
> OUTPUTFORMAT
> 
> NAME jpeg
> 
> DRIVER "GD/JPEG"
> 
> MIMETYPE "image/jpeg"
> 
> IMAGEMODE RGBA 
> 
> EXTENSION "jpg" 
> 
> TRANSPARENT ON
> 
> END
>   and the symbol definition
>  SYMBOL
> NAME 'eolica'
> TYPE PIXMAP
> IMAGE 'eolica2.png'
> TRANSPARENT 1
> END
> 
> 
> -- 
> Lluís Garcia i Mestres,
> 
> lluisgm at gmail.com
> lluisgm at hotmail.com
> 



More information about the MapServer-users mailing list