Skip to main content

Function: readIccMetadata()

readIccMetadata(profile): IccMetadata

Interpret npm icc-compatible metadata from a parsed or edited profile. Includes header names, description, copyright, device model description, viewing conditions description, and whitepoint. Selects the first mluc locale; the last supported duplicate tag wins, matching icc 4.0.0. Tag values use a string-or-XYZ union because decoding follows the payload type even when it differs from the tag's usual type. Unknown types stay opaque.

Parameters​

profile​

IccProfile

Returns​

IccMetadata