[Mapserver-users] Problems drawing JPEG Raster with Transpare
jacob.delfos at maunsell.com
Mon May 3 20:35:36 EDT 2004
If you have photoshop, you should try a 'replace color' operation.
Alternatively, bring it into whatever package you have, try to find a way to
automatically select the 'near white' (magic wand, or 'select color', or
something like that) and delete these areas, to make them white.
If you can't do it like that, try to use 'curves' (histogram stretch), and
force all your bright colors (near whites) to be white.
From: Richard Gould [mailto:rgould at refractions.net]
Sent: Tuesday, 4 May 2004 2:49 AM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] Problems drawing JPEG Raster with Transparency
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
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?
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
More information about the mapserver-users