Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#6647 closed defect (fixed)

TIFF CreateCopy() add erroneous ExtraSamples on a RGB UInt16

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 2.1.2
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords: gtiff
Cc:

Description

When translating a RGB UInt16 to TIFF (and that PHOTOMETRIC=RGB is not explicitly set), the resulting TIFF has a ExtraSamples tag with 2 values, which is wrong.

Change History (3)

comment:1 by Even Rouault, 8 years ago

Resolution: fixed
Status: newclosed

In 35364:

GTiff: do not generate erroneous ExtraSamples tag when translating from a RGB UInt16, without explicit PHOTOMETRIC=RGB (fixes #6647)

comment:2 by Even Rouault, 8 years ago

In 35365:

GTiff: do not generate erroneous ExtraSamples tag when translating from a RGB UInt16, without explicit PHOTOMETRIC=RGB (fixes #6647)

comment:3 by Even Rouault, 8 years ago

Milestone: 2.1.2
Note: See TracTickets for help on using tickets.