Ticket #1342 (new defect)

Opened 2 years ago

GeoTIFF Photometric Interpretation, three bands, 16-bit samples

Reported by: astewart@terragotech.com Assigned to: warmerdam
Priority: highest Milestone:
Component: GDAL_Raster Version: 1.3.2
Severity: normal Keywords:
Cc:

Description

Using gdal_translate to read NITF and write GeoTIFF. Input NITF has three bands, is identified as an MS (multispectral) image type, and the bands are mapped to an RGB representation. Gdalinfo utility recognizes the RGB mapping. Input 11-bit samples result in GDAL 16-bit samples. The RGB mapping is lost in the output TIFF. Instead the Photometric Interpretation tag is set to "min-is-black" and an Extra Samples tag identifies two additional bands of data. Maybe an option is appropriate to force a mapping to RGB?