Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#2443 closed defect (fixed)

GDAL can't read JPEG image

Reported by: agisar Owned by: Even Rouault
Priority: high Milestone: 1.5.3
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords: jpeg color spaces ycbcrk cmyk
Cc: warmerdam, gaopeng


GDAL is unable to read the attached image.

Attachments (1)

AGS-logo-blk.jpg (103.3 KB) - added by agisar 12 years ago.

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by agisar

Attachment: AGS-logo-blk.jpg added

comment:1 Changed 12 years ago by Even Rouault

Owner: changed from warmerdam to Even Rouault
Status: newassigned

comment:2 Changed 12 years ago by Even Rouault

Keywords: jpeg color spaces ycbcrk cmyk added
Milestone: 1.6.0
Resolution: fixed
Status: assignedclosed

Commited in trunk in r14770:

"The driver will automatically convert images whose color space is YCbCr, CMYK or YCbCrK to RGB, unless GDAL_JPEG_TO_RGB is set to NO (YES is the default). When color space translation to RGB is done, the source color space is indicated in the SOURCE_COLOR_SPACE metedata of the IMAGE_STRUCTURE domain."

comment:3 Changed 12 years ago by warmerdam

Cc: warmerdam gaopeng added
Priority: lowhigh

I have migrated these changes back into 1.5 branch so that cmyk jpeg files can be read (r15176).

There is also a sample cmyk file at: http://download.osgeo.og/gdal/data/jpeg now.

Note: See TracTickets for help on using tickets.