11.02.2014 Views

InterColor Profile Format - CiteSeerX

InterColor Profile Format - CiteSeerX

InterColor Profile Format - CiteSeerX

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>InterColor</strong> <strong>Profile</strong> <strong>Format</strong> Specification Version 3.0 June 10, 1994<br />

6 Tag Type Definitions<br />

This section specifies the type and structure definitions used to create all of the<br />

individual tagged elements in <strong>InterColor</strong> <strong>Profile</strong> <strong>Format</strong>. The data type description<br />

identifiers are indicated at the right margin of each data or structure definition. An<br />

effort was made to make sure one-byte, two-byte and four-byte data lies on one-byte,<br />

two-byte and four-byte boundaries respectively, this required occasionally including<br />

extra spaces indicated with “reserved for padding” in some tag type definitions. Value<br />

0 is defined to be of “unknown value” for all enumerated data structures.<br />

All tags, including private tags, have as their first four bytes (0-3) a tag signature<br />

(a 4 byte character sequence) to identify to profile readers what kind of data is contained<br />

within a tag. This encourages tag type reuse and allows profile parsers to reuse code<br />

when tags use common tag types. The second four bytes (4-7) are reserved for future<br />

expansion and must be set to 0 in this version of the specification. Each new tag<br />

signature and tag type signature must be registered with the <strong>InterColor</strong> Consortium in<br />

order to prevent signature collisions.<br />

Where not specified otherwise, the low 16 bits of all 32 bit flags in the type<br />

descriptions below are reserved for use by the <strong>InterColor</strong> Consortium.<br />

When 7 bit ASCII text representation is specified in types below, each individual<br />

character is encoded in 8 bits with the high bit set to zero. The details are presented in<br />

Appendix C.<br />

6.1 curveType<br />

The curveType contains a 4 byte count value and a one-dimensional table of 2 byte<br />

values. The byte stream is given below.<br />

byte(s) content<br />

0-3 ‘curv‘ (0x63757276) type descriptor<br />

4-7 reserved, must be set to 0<br />

8-11 count value specifying number of entries that follow<br />

12-end actual curve values starting with the zeroth entry and ending with the entry<br />

count-1.<br />

36

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!