JDK-5100094 : Add support for reading/writing CMYK JPEGs
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: javax.imageio
  • Affected Version: 1.4.2,6,18
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • OS: solaris_2.5.1,windows_xp
  • CPU: x86
  • Submitted: 2004-09-10
  • Updated: 2022-03-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Duplicate :  
Relates :  
Description

Name: rmT116609			Date: 09/09/2004


A DESCRIPTION OF THE REQUEST :
add support for reading/writing cmyk jpegs

JUSTIFICATION :
there is support for reading/writing cmyk in some image formats (tif) but not others (jpg)

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
reading/writing jpegs in cmyk format

---------- BEGIN SOURCE ----------
using ImageIO.read() or ImageIO.write() when attempting to save a cmyk image results in  an exception being thrown:

javax.imageio.IIOException: Unsupported Image Type
---------- END SOURCE ----------
(Incident Review ID: 305534) 
======================================================================

Comments
JDK-8274735 is proposed to fix the basics so we don't get exceptions from reading CMYK and it renders as closely as possible to as what is intended. This bug is open to cover a more complete handling including metadata spec updates.
17-03-2022

Please re-open if - if fix is in progress or on the plan to fix soon - if this is a P3 (file as P3, not P4)
18-03-2014

EVALUATION Should consider for Mustang or Dolphin, since JPEG images with CMYK color spaces seem to be more commonplace these days. Note that there is an existing RFE (4799903) on the JAI IIO Tools JPEGImageReader that includes details that may be useful in applying a fix for the core (JDK) JPEGImageReader. ###@###.### 2004-09-10
10-09-2004