[Mapserver-users] Problems drawing JPEG Raster with Transparency

Richard Gould rgould@refractions.net
Mon, 03 May 2004 11:49:26 -0700


So I have this JPEG layer that I wish to draw on top of a couple other 
Shapefile layers, and I want it to be translucent. So in the mapfile I 
have set:
OFFSITE 255 255 255

And everything I want to be transparent is set to white (255, 255, 255).

However, when the layers are rendered and drawn, all the borders around 
the non-transparent parts of the raster are surrounded by a near-white 
(252, 252, 252) border.

You can see what I mean at: http://gislab-60.unbc.ca/viewer/out/problem.png
The grey layers are shapefiles, the greenish-white layer is my JPEG raster.

Does anyone have any idea how to solve this problem?

Thanks,

Richard
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users