The PNG Guide is an eBook based on Greg Roelofs' book, originally published by O'Reilly. |
Home Gamma Correction and Precision Color ICC Profiles | ||||||||||||
ICC ProfilesThough the profile format itself is understandably quite complex, given all of the devices and color-space conversions it must encompass, the format of PNG's iCCP chunk is independent of all that. Similar to the zTXt chunk (which will be described in Chapter 11, "PNG Options and Extensions"), iCCP contains only four elements, as shown in Table 10-4: a printable name terminated by a null byte; a byte indicating the compression method; and the compressed profile itself.
The profile name is for the convenience of the artist or user of the image; in practice, it will probably be similar to the profile description tag, which is embedded in the profile itself. The compression method byte currently must be zero, indicating a compressed stream in zlib format, using the deflate compression method. As with zTXt and the actual image data, a future major revision of the PNG spec may define other compression methods, in which case this byte will be allowed to take on other values. By mid-1998, there were indications that something of a ``TIFF effect''
applied to the ICC profile format; that is, profiles from different vendors
were not necessarily interoperable with each other or with different color
management systems.[84]
Presumably this will be worked out by the time the ICC specification becomes
an official standard, but in the meantime, it is something of which PNG
implementors should be aware.
|
||||||||||||
Home Gamma Correction and Precision Color ICC Profiles |