You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xmlgraphics.apache.org by bu...@apache.org on 2012/06/15 19:11:33 UTC
[Bug 53423] New: IllegalArgumentException loading a grayscale PNG
with a CMYK color profile
https://issues.apache.org/bugzilla/show_bug.cgi?id=53423
Priority: P2
Bug ID: 53423
Assignee: general@xmlgraphics.apache.org
Summary: IllegalArgumentException loading a grayscale PNG with
a CMYK color profile
Severity: normal
Classification: Unclassified
OS: All
Reporter: jeremias@apache.org
Hardware: All
Status: NEW
Version: Trunk
Component: image codecs
Product: XMLGraphicsCommons
I've stumbled over a PNG that cannot be loaded by ImageLoaderImageIO because it
contains an incompatible color profile. The profile is CMYK but the bitmap
itself is grayscale plus alpha. That combination causes an
IllegalArgumentException.
java.lang.IllegalArgumentException: Raster ByteInterleavedRaster: width = 344
height = 2127 #numDataElements 1 dataOff[0] = 0 is incompatible with ColorModel
ColorModel: #pixelBits = 32 numComponents = 4 color space =
java.awt.color.ICC_ColorSpace@c61cd88 transparency = 1 has alpha = false
isAlphaPre = false
at java.awt.image.BufferedImage.<init>(BufferedImage.java:611)
at
org.apache.xmlgraphics.image.loader.impl.imageio.ImageLoaderImageIO.loadImage(ImageLoaderImageIO.java:198)
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org
[Bug 53423] IllegalArgumentException loading a grayscale PNG with a
CMYK color profile
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53423
Jeremias Maerki <je...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Jeremias Maerki <je...@apache.org> ---
Fixed: http://svn.apache.org/viewvc?rev=1350697&view=rev
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org