Opened 16 years ago

Closed 16 years ago

Last modified 16 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

Description

GDAL is unable to read the attached image.

Attachments (1)

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

Download all attachments as: .zip

Change History (4)

by agisar, 16 years ago

Attachment: AGS-logo-blk.jpg added

comment:1 by Even Rouault, 16 years ago

Owner: changed from warmerdam to Even Rouault
Status: newassigned

comment:2 by Even Rouault, 16 years ago

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 by warmerdam, 16 years ago

Cc: warmerdam gaopeng added
Milestone: 1.6.01.5.3
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.