[Gdal-dev] Creating a color geotiff
Frank Warmerdam
warmerdam at pobox.com
Wed Jan 14 21:43:57 EST 2004
Pushkar Pradhan wrote:
>>GDAL is supposed to produce TIFF files with a photometric
>>interpretation of
>>RGB if the band type is byte, and the number of bands is 3 or 4. If this
>>isn't the case, let me know so I can fix it. As Andrey notes, there are
>>situations where GDAL crates MINISBLACK files, even if they are 3 bands.
>>Basically if the band type is anything but byte.
>>
>>Ideally we should add creation options to control the photometric
>>interpretation
>>explicitly. If you need it we can do that.
>
> Frank,
> I think I will need these options, I will be outputting RGB->IHS images, or
> performing wavelet transforms on images which will output 4 bands and
> floating point data, etc.
> I'm still not sure how MINISBLACK vs. PHOTOMETRIC_RGB affects my code.
> Thanks,
> Pushkar
OK ... Andrey could you add a photometric interpretation option to the GDAL
GeoTIFF writing code?
Thanks,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the Gdal-dev
mailing list