mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-14 21:44:57 +00:00
A CMYK TIFF written again, a CMYK JPEG that the Compression settings resample or compress again, and a CMYK image written with its mask as its soft mask lost the CMYK profile the image embeds. Such an image is now written in an ICCBased space holding that profile, byte for byte, when output.profiles is all or taggedSource, and in PDF/A-2b, PDF/X-3 and PDF/X-4 unless profiles is destination. Pixels the Output settings convert are never tagged with it. A CMYK JPEG embedded as it is now follows the same rule instead of always carrying its own ICC_PROFILE segments: with profiles none it is DeviceCMYK, and PDF/X-1a export no longer refuses a CMYK JPEG that carries a profile. A profile tags an image only when it is at most 16 MiB and its declared size, acsp signature, device class, CMYK color space and tag table are well formed. Tagged CMYK documents blend transparency in the document's CMYK profile space, not in an image's own; without that space they blend in DeviceCMYK, or keep their RGB space in PDF/A.