Files
vectorcraft/docs
dotCooCoo 79919e279b PDF import: CMYK images keep the profile of their ICCBased color space
An image in a four-component ICCBased color space opened with its ink
amounts but without the profile its color space holds, so PDF export
could not write it in that profile again.

- The profile is read from the color space stream (at most 16 MiB) and
  kept when it is a well-formed CMYK profile. A CMYK TIFF carries it as
  tag 34675; a CMYK JPEG kept as it is carries it in ICC_PROFILE APP2
  segments in place of its own, with its compressed data unchanged, and
  one whose segments cannot hold it is stored as a CMYK TIFF.
- jpeg_with_icc passes over fill bytes (0xFF before a marker, ITU T.81
  B.1.1.2) and leaves them out of the output.
- A malformed, non-CMYK or larger profile leaves a decoded image's TIFF
  untagged and a kept JPEG as it is. DeviceCMYK and DeviceN images stay
  untagged.
- A CMYK TIFF's tag 34675 is read up to 16 MiB; before, a 4 MiB profile
  was read back and a 16 MiB one was not. The comments of
  tiff_icc_profile and source_icc give that limit.
2026-11-15 00:34:55 -08:00
..
…