International Color Consortium
Members
Getting Started
V4
iccMAX
Making color seamles between devices and documents
ICC Specifications
Technical Notes
ICC Resource Center
ICC Slide Presentation
ICC Logos
Information on Profiles
ICC White Papers
Color Management Links
Member List
ICC Working Groups
FAQ
Forum
Home
Got a question about ICC Profiles or colour management?

Malformed profiles - added bytes

The file structure for profiles defined by ICC includes a tag table after the 128-byte header. The tag table lists all the tags present in the profile, by signature, byte offset of the first byte in the tag, and the length of the tag in bytes.

Although tags can appear in any order in the table, they should be consecutive and should all have a length that is a multiple of four bytes. Added bytes have the potential to cause problems depending on the way the application or CMM is written. Only the correct number of bytes for each tag should be read into memory, and additional bytes between tags or after tags should be ignored by a CMM. The requirement that tags are required to be consecutive without gaps was clarified in ICC.1:2022.

In the profile added-bytes.icc bytes have been inserted between tags. This error is not critical and a CMM can ignore the extra bytes rather than reject the profile.

This profile can be used to test that a CMM or application is able to ignore the additional bytes.