Re: [gdal-dev] NITF 16bit pixel scaling using NBITS/ABPP

2010-12-15 Thread Even Rouault
Le mercredi 15 décembre 2010 12:52:06, Smart, Gary a écrit : > We are reading NITF images which occupy the lower 12bits of a 16bit > datatype. These images clearly have ABPP=12 and NBPP=16 set in the > header. However, when I use GetMetadataItem("NBITS"), the string > returned is always 'null'.

[gdal-dev] NITF 16bit pixel scaling using NBITS/ABPP

2010-12-15 Thread Smart, Gary
We are reading NITF images which occupy the lower 12bits of a 16bit datatype. These images clearly have ABPP=12 and NBPP=16 set in the header. However, when I use GetMetadataItem("NBITS"), the string returned is always 'null'. I have also tried GetMetadataItem("ABPP") - which also returns 'null'