mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-14 19:26:56 -04:00
DeviceCMYK and CMYK ICC colours import as CMYK and a file painted mostly in CMYK opens as a CMYK document (with CMYK default swatches); DeviceGray imports as Gray; Separation and DeviceN inks become global spot swatches (their 100 % colour from the alternate space: CMYK, RGB, Gray or Lab) that the art links to at its tint, /All links to Registration and process colorants make CMYK. Shading stops keep their model and ink links the same way. Inks mixed in one DeviceN colour, or spaces that can't be told apart, import as RGB (with a warning for the mix). document.open takes colorMode (rgb | cmyk) to open any file in that mode, converted as file.documentColorMode does (its conversion is now shared). Co-Authored-By: Claude Opus 5.5 <[email protected]>