[mapserver-users] Set RASTER layer's black background to transparent

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Tue Mar 24 01:25:49 EDT 2009


Hi,

You need to set OFFSITE into your raster layer definitions, for example if the background colour is black

OFFSITE 0 0 0

-Jukka Rahkonen-


-----Alkuperäinen viesti-----
Lähettäjä: mapserver-users-bounces at lists.osgeo.org puolesta: adsaero
Lähetetty: ti 24.3.2009 0:46
Vastaanottaja: mapserver-users at lists.osgeo.org
Aihe: [mapserver-users] Set RASTER layer's black background to transparent
 

Hi!  I've been searching for a while and can't seem to find an easy answer;  I have a .PNG image that I use as a raster layer to a map.  The .PNG has a black background, and I'd like the black background to actually be transparent on the map, as it sits on top of other layers.
<br><br>I don't have control over the image generation, so I can't set the background to transparent at build time.
<br><br>Anyone have any suggestions as to how I can accomplish this?
<br><br>
-- 
View this message in context: http://n2.nabble.com/Set-RASTER-layer%27s-black-background-to-transparent-tp2523838p2523838.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



More information about the mapserver-users mailing list