ag-psd icon indicating copy to clipboard operation
ag-psd copied to clipboard

feat: add support for CMYK color mode

Open quarksb opened this issue 10 months ago • 4 comments

attach psd file for test Archive.zip

quarksb avatar Feb 26 '25 07:02 quarksb

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

quarksb avatar Feb 26 '25 07:02 quarksb

The changed algorithm seems to give the same result.

Export from photoshop: src

Old algorithm: old

New algorithm: new

Agamnentzar avatar Feb 26 '25 23:02 Agamnentzar

The file is from here: https://github.com/Agamnentzar/ag-psd/tree/master/test/read/cmyk

Agamnentzar avatar Feb 26 '25 23:02 Agamnentzar

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 avatar Feb 27 '25 02:02 quarksb