-
Notifications
You must be signed in to change notification settings - Fork 1.2k
CMYK JPEG images are not properly painted #425
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
Comments
+1 |
Did either of you find a way around this? This is looking like a pain point for my application. |
We changed our backend to convert CMYK to RGB before sending it to NodeJS. |
I also experience this problem but we have very few customers using CMYK images so it's not a priority for us at the moment. |
+1 Just spent the day tracing the issues through the processing pipeline and all signs point to this as the root cause. |
Happy to offer a bounty for anyone who wants to add support for CMYK jpgs. |
I'm facing the same issue, and I just use gm to convert images to RGB colorspace using following function. Make sure gm installed first.
|
This is also affecting YCCK images. Add this so that this thread appears in searches for the YCCK keyword. |
Has anyone managed to find a solution for this issue besides converting the image to RGB prior to sending it to node canvas? |
So here is example of CMYK Jpeg that we try just to draw on canvas in nodejs.

And here is an result of it.

Code that I am using:
I would suggest to return exception that JPEG CMYK is not supported.
The text was updated successfully, but these errors were encountered: