Opened 7 years ago

Closed 7 years ago

Last modified 7 years 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 by Even Rouault, 7 years ago

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 by Even Rouault, 7 years ago

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 by Even Rouault, 7 years ago

In 40289:

Fix previous commit (refs #7064)

comment:4 by Even Rouault, 7 years ago

In 40290:

Fix previous commit (refs #7064)

Note: See TracTickets for help on using tickets.