Skip to content

feat: add support for CMYK color mode #230

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

quarksb
Copy link
Contributor

@quarksb quarksb commented Feb 26, 2025

attach psd file for test
Archive.zip

@quarksb
Copy link
Contributor Author

quarksb commented Feb 26, 2025

I am not sure whether the cmyk convert code is correct, but it seems work ok, but I believe we should test it in detail be merge it

@Agamnentzar
Copy link
Owner

The changed algorithm seems to give the same result.

Export from photoshop:
src

Old algorithm:
old

New algorithm:
new

@Agamnentzar
Copy link
Owner

@quarksb
Copy link
Contributor Author

quarksb commented Feb 27, 2025

yeah, there algorithm is same to before, and I have change it back.
As for the color difference,According to my friend,we need convert the color by icc file.

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 this pull request may close these issues.

2 participants