Opened 5 months ago

Closed 5 months ago

Last modified 5 months ago

#6647 closed defect (fixed)

TIFF CreateCopy() add erroneous ExtraSamples on a RGB UInt16

Reported by: rouault Owned by: 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 5 months ago by rouault

  • Resolution set to fixed
  • Status changed from new to closed

In 35364:

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

comment:2 Changed 5 months ago by 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 5 months ago by rouault

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