[Mapserver-users] 24bit IMG turns out Greyscale
Oliver Wesp
wesp at gdv.com
Mon May 5 05:01:55 PDT 2003
Dear List,
I came across some behaviour and I don't know how to handle this one. I'm
using 24bit IMG-Files (RGB) within my mapfile that should be displayed
as RGB in the resulting mapimage. And in fact they are displayed with
appropriate colors, as long as there is no class defined within the layer.
As soon as I define a class - although it's empty - the image turns out
greyscale. I came across this one cause I would like to display a legend
entry for the raster image. So I was used to add
CLASS
NAME 'Layername'
END
to the raster layers.
Here's the setup
-mapserver nightly
-gdal-cvs-030505
-gd 2.0.12
Maybe somebody is able to shed some light on this.
best regards
Oliver
--
Dipl.-Geogr. Oliver Wesp
Gesellschaft für geografische Datenverarbeitung
Binger Strasse 49-51
D-55218 Ingelheim
fon: +49 6132 714818
fax: +49 6132 714828
http: <http://www.gdv.com>www.gdv.com
More information about the MapServer-users
mailing list