mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-15 20:34:18 +00:00
The check before a PNG or JPEG is embedded as it is read the profile's color space only from a profile of at least 128 bytes, so a gray or RGB profile cut short after its color space reached the PDF writer. The color space is now read from bytes 16..20 of any profile that holds them, and valid_icc rejects the short profile.