-
Notifications
You must be signed in to change notification settings - Fork 623
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
color looks wrong when CMYK jpg changed to RGB after opened and saved by image-rs #1440
Comments
closed; moved to jpeg-decoder module |
Previously I moved this issue to image/jpeg-decoder(issue image-rs/jpeg-decoder#185), and there is no update after two months. Maybe the issue should be reopened here for people who's interested? Don't know what the right protocol is here. |
From the discussion in the other thread there seems to be two issues at play:
|
Thanks for your prompt reply. |
Hi, is there any update on this issue? Is CMYK support, or other color space related support added? Thanks. |
Alas, we're still blocked on someone volunteering to design and implement the relevant changes |
This happens when I simply used image-rs to open and save a CMYK jpg file
Expected
I expect the CMYK jpg file stays the same(file size, colorspace, etc.)
I did not expect a CMYK jpg be changed to RGB jpg automatically. Because this CMYK jpg is used for printing.
Actual behaviour
the original CMYK jpg file is 12.5Mb, in CMYK; after opened and saved by image-rs, the size was changed to 2.2Mb, color spaced was changed to RGB(found out with Photoshop), and the image color looks different than the original file.
Reproduction steps
Download the original CMYK image file from the link below, and simply run:
Provide source code, a repository link, or steps
original cmyk image file uploaded to mega.io
open and saved by image-rs
edit: added links to images
The text was updated successfully, but these errors were encountered: