iccwrite
Write ICC color profile data
Description
writes an International Color Consortium (ICC) profile data in structure
outProfile = iccwrite(inProfile,filename)inProfile to the file specified by filename.
You can use this function to modify fields in an ICC profile data structure and write it
to a file with name filename. For example, some applications use the
string field in profile description to present choices to users. The ICC recommends
modifying the profile description in ICC profile data before writing the data to a file.
Each profile is recommended to have a unique profile description. You can therefore, use the
iccwrite function to modify the profile description.
Note
iccwrite can write profiles that conform with either Version 2
(ICC.1:2001-04) or Version 4 (ICC.1:2001-12) of the ICC specification. To determine the
version of the ICC specification, use version field in the
Header of profile data structure. Based on the version, format the
inProfile for output. For more information about ICC profiles,
visit the ICC website, https://www.color.org.
Examples
Input Arguments
Output Arguments
Tips
iccwrite does not perform automatic conversions from one version of the
ICC specification to another. Do the conversion manually by adding fields or modifying fields
in ICC profile data. Use isicc to validate the converted ICC profile
data.
Version History
Introduced before R2006a
See Also
applycform | iccread | isicc | makecform