Opened 3 months ago

Closed 3 months ago

Last modified 3 months ago

#7064 closed defect (fixed)

gdal_translate -co PHOTOMETRIC=RGB doesn't force color interpretation of first 3 bands

Reported by: Even Rouault Owned by: warmerdam
Priority: normal Milestone: 2.2.3
Component: default Version: unspecified
Severity: normal Keywords:
Cc:

Description

If the color interpretation of the first 3 bands in the source dataset is not RGB, -co PHOTOMETRIC=RGB doesn't override them, which is unexpected.

Change History (4)

comment:1 Changed 3 months ago by Even Rouault

Resolution: fixed
Status: newclosed

In 40287:

GTiff: make sure that -co PHOTOMETRIC=RGB overrides the color interpretation of the first 3 bands of the source datasets (fixes #7064)

comment:2 Changed 3 months ago by Even Rouault

In 40288:

GTiff: make sure that -co PHOTOMETRIC=RGB overrides the color interpretation of the first 3 bands of the source datasets (fixes #7064)

comment:3 Changed 3 months ago by Even Rouault

In 40289:

Fix previous commit (refs #7064)

comment:4 Changed 3 months ago by Even Rouault

In 40290:

Fix previous commit (refs #7064)

Note: See TracTickets for help on using tickets.