ag-psd
ag-psd copied to clipboard
feat: add support for CMYK color mode
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
The changed algorithm seems to give the same result.
Export from photoshop:
Old algorithm:
New algorithm:
The file is from here: https://github.com/Agamnentzar/ag-psd/tree/master/test/read/cmyk
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.