Skip to content

feat: add support for CMYK color mode#230

Closed
quarksb wants to merge 1 commit intoAgamnentzar:masterfrom
quarksb:master
Closed

feat: add support for CMYK color mode#230
quarksb wants to merge 1 commit intoAgamnentzar:masterfrom
quarksb:master

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.

@quarksb quarksb closed this Jun 23, 2025
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