mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-15 07:42:42 +00:00
A gray or RGB image is tagged with the ICC profile it carries only when the profile passes the checks a CMYK image's profile already passes: at most 16 MiB, the size its header declares, the acsp signature, an input, display, output or color space profile class, and a tag table that lies within it. Otherwise the image is written in DeviceGray or DeviceRGB, kept as it is, resampled or compressed with JPEG.