-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Basic support for CMYK JPEG images #10149
Comments
Problem arises when Java program is trying to use the getColorModel() method on a null object returned by getRawImageType(int). This happens image format that ImageIO does not fully support. Checking for null and falling back some assumed values before calculating required memory size fixes the problem. |
Some (basic) CMYK JPEG support was added recently https://bugs.openjdk.org/browse/JDK-8274735 |
It is reported as fixed in JDK https://bugs.openjdk.org/browse/JDK-8143562, but actually some images still fail.
The text was updated successfully, but these errors were encountered: