Skip to content
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

Prevent CMYK image colours being shifted #397

Open
arnaud-dbu opened this issue Oct 3, 2024 · 1 comment · May be fixed by #412
Open

Prevent CMYK image colours being shifted #397

arnaud-dbu opened this issue Oct 3, 2024 · 1 comment · May be fixed by #412
Assignees

Comments

@arnaud-dbu
Copy link
Contributor

When files in CMYK format are uploaded as assets, the colors of the image can look completely different from the original image. I have now converted the image to RGB and everything is fine, but can we adjust the config to avoid this problem?

I found this:
https://craftcms.stackexchange.com/questions/26914/how-can-i-prevent-cmyk-image-colours-being-shifted-when-importing-into-assets

@HannahDeWachter
Copy link
Contributor

Add following to general.php

'preserveImageColorProfiles' => true,
'preserveCmykColorspace' => true,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants