True for valid ICC color profile
TF = isicc(P)
TF = isicc(P) returns
P is a valid ICC color profile; otherwise
isicc checks if
a complete set of the tags required for an ICC profile.
Header field, which in turn must contain
Version field and a
These fields, and others, are used to determine the set of required
tags according to the ICC Profile Specification, either Version 2
(ICC.1:2001-04) or Version 4 (ICC.1:2001-12), which are available
The set of required tags is given in Section 6.3 in either version.
Read in an ICC profile and
P = iccread('sRGB.icm'); TF = isicc(P) TF = 1
This example creates a MATLAB® structure and uses
test if it's a valid ICC profile.
S.name = 'Any Student'; S.score = 83; S.grade = 'B+' TF = isicc(S) TF = 0