Opened 18 years ago

Closed 10 years ago

#1342 closed defect (invalid)

GeoTIFF Photometric Interpretation, three bands, 16-bit samples

Reported by: astewart@… Owned by: warmerdam
Priority: highest Milestone:
Component: GDAL_Raster Version: 1.3.2
Severity: normal Keywords:
Cc:

Description (last modified by Even Rouault)

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?

Change History (1)

comment:1 by Even Rouault, 10 years ago

Description: modified (diff)
Resolution: invalid
Status: newclosed

-co photometric=rgb can be used to set RGB

Note: See TracTickets for help on using tickets.