-
Notifications
You must be signed in to change notification settings - Fork 546
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
Processing CMYK skews colors #523
Comments
This may be a result of you loosing the color space info. The In fact, it may be better to just take the |
The issue has been resolved. As you mentioned, it was a The key piece of info for anyone else reading this: Example of maintaining
|
I haven't done much work with the color space area, but what happens if you use the color space from the codec? I know in |
I haven't tried using the Regarding your other comment, if you're setting the Here is where I learned this: https://skia.org/user/sample/color Please read the whole page (it's short and packed with great information that you may find very useful), and the last part was especially helpful:
|
Closing this as it has been resolved by setting a colorspace. |
Description
Processing a CMYK image (in this case, resizing it) drastically skews the colors. Most likely occurring when it's converted to RGB.
Is there a way to resize a CMYK image while keeping the colors as similar as possible?
Code
Expected Behavior
Conversion from CMYK to RGB should convert to fairly similar colors.
Actual Behavior
Drastic color difference when CMYK gets converted to RGB.
Basic Information
Screenshots
The text was updated successfully, but these errors were encountered: