mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-18 13:33:51 +00:00
A file whose catalog has a CMYK /GTS_PDFX output intent describes its DeviceCMYK colors with that intent's profile. A DeviceCMYK image in such a file now opens tagged with that profile, so a CMYK image that a PDF/X export writes as DeviceCMYK opens with its profile again. An image drawn where a /DefaultCMYK is in scope keeps no profile, since the default replaces DeviceCMYK there. The scope is read per image from the resources it is drawn with, and the image cache keeps the tagged and untagged reads apart.