[gdal-dev] Problem w\images with one raster band
jluis at ualg.pt
Wed Jan 11 12:11:18 EST 2012
On 11-01-2012 08:11, Timur Chabayev wrote:
> I'd like to use GDAL in my program to open raster images (MFC), but I have one problem - when I try to open images with one raster band, these image are drawn gray (or, in few cases, almost black). I' ve looked for a solution, but haven't found any.
> Thanks in advance.
Single band images need an associated color palette (some prefer to call
it color map). Some programs just generate one default palette, that can
be gray, when the file doesn't provide it. Maybe that's what is
happening with you, or maybe the file has one that applied to band in
question produces a dark image. Basically you must use one software that
allows you to change the palette if the one you get doesn't please you.
More information about the gdal-dev