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

Pietro Giannini pgiannini at bytewise.it
Tue Mar 24 06:16:17 EDT 2009


Try layer OFFSITE [r][g][b] 
(http://mapserver.org/mapfile/layer.html?highlight=offsite%20raster)
bye
..........................pg


adsaero ha scritto:
> 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>
>   


-- 
Pietro Giannini
Bytewise srl - Area GIS
41°50'38.58"N 12°29'13.39"E



More information about the mapserver-users mailing list