Opened 13 years ago

Closed 9 years ago

#4147 closed defect (fixed)

Untiled PHOTOMETRIC_SEPARATED image not handled correctly

Reported by: rprinceley Owned by: warmerdam
Priority: normal Milestone:
Component: GDAL_Raster Version: svn-trunk
Severity: normal Keywords: libtiff
Cc: gaopeng

Description

Untiled 8bit CMYK images (PHOTOMETRIC_SEPARATED) are not decoded by TIFFReadRGBA API (fails with "Sorry, can not handle image"). PickSeparateCase function doesn't seem to handle this case correctly.

Change History (4)

comment:1 by rprinceley, 13 years ago

I have checked in changes to support this type of images in 1.8-esri (r22726), please review and merge to trunk.

I'll try to find/create a sample to attach to this ticket.

comment:2 by Even Rouault, 13 years ago

Technically, this is a libtiff patch, so unless Frank takes it in charge, the normal process is that it should be applied in upstream libtiff first before being refreshed in GDAL internal copy

comment:3 by Jukka Rahkonen, 9 years ago

Keywords: libtiff added

I wonder if this is now fixed in the upstream libtiff.

in reply to:  3 comment:4 by Even Rouault, 9 years ago

Resolution: fixed
Status: newclosed

Replying to jratike80:

I wonder if this is now fixed in the upstream libtiff.

Yes it was!

http://trac.osgeo.org/gdal/changeset/24250

2012-06-01  Frank Warmerdam  <warmerdam@google.com>

        * libtiff/tif_getimage.c: added support for _SEPARATED CMYK images.
        http://bugzilla.maptools.org/show_bug.cgi?id=2379
Note: See TracTickets for help on using tickets.