RGB vs grayscale

John Mitchell mitchelljj98 at GMAIL.COM
Fri Apr 27 11:35:55 EDT 2007


Hi,

Below are sections from 2 different gdalinfo listings:

RGB that displays the way we expected in MapServer

Band 1 Block=256x256 Type=Byte, ColorInterp=Red
Band 2 Block=256x256 Type=Byte, ColorInterp=Green
Band 3 Block=256x256 Type=Byte, ColorInterp=Blue
----------------------
RGB that displays as a gray scale in MapServer

Band 1 Block=1394x1 Type=Byte, ColorInterp=Red
Band 2 Block=1394x1 Type=Byte, ColorInterp=Green
Band 3 Block=1394x1 Type=Byte, ColorInterp=Blue

What does 1394x1 mean (one level deep)?

The second image that shows up as gray scale within MapServer shows up as
color within the global mapper desktop application.  Is their anything that
could be done to change the header info within the file (i.e. running
gdalwarp against the grayscale appearing image so that MapServer recognizes
it as RGB)?

Thanks,

-- 
John J. Mitchell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070427/0897f7a9/attachment.html


More information about the mapserver-users mailing list