Opened 11 months ago

Closed 11 months ago

Last modified 11 months 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 Changed 11 months ago by Even Rouault

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 Changed 11 months ago by Even Rouault

In 35365:

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

comment:3 Changed 11 months ago by Even Rouault

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