166#ifndef icPROFILEHEADER_H
167#define icPROFILEHEADER_H
169#if !defined(ICCCONFIG_h)
170 #error Include IccProfLibConf.h before this file
177#ifdef ICSETBYTEPACKING
186#define icMagicNumber 0x61637370
187#define icVersionNumber 0x02000000
188#define icVersionNumberV2_1 0x02100000
189#define icVersionNumberV4 0x04000000
190#define icVersionNumberV4_2 0x04200000
191#define icVersionNumberV4_3 0x04300000
192#define icVersionNumberV4_4 0x04400000
193#define icVersionNumberV5 0x05000000
194#define icVersionNumberV5_1 0x05100000
197#define icPrtrDefaultScreensFalse 0x00000000
198#define icPrtrDefaultScreensTrue 0x00000001
199#define icLinesPerInch 0x00000002
200#define icLinesPerCm 0x00000000
207#define icReflective 0x00000000
208#define icTransparency 0x00000001
209#define icGlossy 0x00000000
210#define icMatte 0x00000002
211#define icMediaPositive 0x00000000
212#define icMediaNegative 0x00000004
213#define icMediaColour 0x00000000
214#define icMediaBlackAndWhite 0x00000008
220#define icEmbeddedProfileFalse 0x00000000
221#define icEmbeddedProfileTrue 0x00000001
222#define icUseAnywhere 0x00000000
223#define icUseWithEmbeddedDataOnly 0x00000002
224#define icMCSNeedsSubsetFalse 0x00000000
225#define icMCSNeedsSubsetTrue 0x00000004
226#define icStandardRangePCS 0x00000000
227#define icExtendedRangePCS 0x00000008
307#ifdef ICHALFFLOATTYPE
317#define icMaxFloat32Number 3.402823466e+38F
318#define icMinFloat32Number -3.402823466e+38F
323#define icDataTypeMask 0x0000ffff
324#define icCompressedData 0x00010000
399 icSigDeviceMediaWhitePointTag = 0x646d7770,
483#define icSigUnknownTag ((icTagSignature) 0x3f3f3f3f)
484#define icMaxEnumTag ((icTagSignature) 0xFFFFFFFF)
521#define icMaxEnumTechnology ((icTechnologySignature) 0xFFFFFFFF)
579#if defined(XRITE_ADDITIONS)
580 icSigZipXmlType_XRITE = 0x5a584d4c,
591#define icSigUnknownType ((icTagTypeSignature) 0x3f3f3f3f)
592#define icMaxEnumType ((icTagTypeSignature) 0xFFFFFFFF)
610#define icSigUnknownStruct ((icStructSignature) 0x3f3f3f3f)
611#define icMaxEnumStruct ((icStructSignature) 0xFFFFFFFF)
624#define icSigUnknownArray ((icArraySignature) 0x3f3f3f3f)
625#define icMaxEnumArray ((icArraySignature) 0xFFFFFFFF)
668#define icSigUnknownElemType ((icElemTypeSignature) 0x3f3f3f3f)
669#define icMaxEnumElemType ((icElemTypeSignature) 0xFFFFFFFF)
685#define icSigUnknownBrdfMember ((icBrdfMemberSignature) 0x3f3f3f3f)
686#define icMaxBrdfMember ((icBrdfMemberSignature) 0xFFFFFFFF)
729#define icSigCinfUnknownMbr ((icColorInfoMemberSignature) 0x3f3f3f3f)
730#define icMaxCinfMbr ((icColorInfoMemberSignature) 0xFFFFFFFF)
761#define icSigCeptUnknownMbr ((icCepsMemberSignature) 0x3f3f3f3f)
762#define icMaxCeptMbr ((icCepsMemberSignature) 0xFFFFFFFF)
777#define icSigMeasUnknownMbr ((icMeasInfoMemberSignature) 0x3f3f3f3f)
778#define icMaxMeasMbr ((icMeasInfoMemberSignature) 0xFFFFFFFF)
800#define icSigNmclUnknownMbr ((icNmClrMemberSignature) 0x3f3f3f3f)
801#define icMaxNmclMbr ((icNmClrMemberSignature) 0xFFFFFFFF)
819#define icSigPinfUnknownMbr ((icProfileInfoMemberSignature) 0x3f3f3f3f)
820#define icMaxPinfMbr ((icProfileInfoMemberSignature) 0xFFFFFFFF)
834#define icSigTnt0UnknownMbr ((icTntMemberSignature) 0x3f3f3f3f)
835#define icMaxTnt0Mbr ((icTnt0MemberSignature) 0xFFFFFFFF)
900#define icSigGamutData ((icColorSpaceSignature) 0x67616D74)
901#define icSigBRDFParameters ((icColorSpaceSignature) 0x62700000)
902#define icSigBRDFDirect ((icColorSpaceSignature) 0x62640000)
903#define icSigUnknownData ((icColorSpaceSignature) 0x3f3f3f3f)
904#define icMaxEnumData ((icColorSpaceSignature) 0xFFFFFFFF)
932#define icGetColorSpaceType(sig) ((icColorSpaceSignature)(((icUInt32Number)sig)&0xffff0000))
933#define icIsSameColorSpaceType(sig, type) ((((icUInt32Number)sig)&0xffff0000)==((icUInt32Number)(type)))
934#define icNumColorSpaceChannels(sig) (((icUInt32Number)sig)&0x0000ffff)
935#define icNColorSpaceSig(type, n) ((icColorSpaceSignature)(icGetColorSpaceType(type)+icNumColorSpaceChannels(n)))
936#define icSpectralColorSpaceSig(type, n) ((icSpectralColorSignature)(icGetColorSpaceType(type)+icNumColorSpaceChannels(n)))
939#define icSigLabPcsData icSigLabData
940#define icSigXYZPcsData icSigXYZData
941#define icSigReflectanceSpectralPcsData ((icColorSpaceSignature)icSigReflectanceSpectralData)
942#define icSigTransmissionSpectralPcsData ((icColorSpaceSignature)icSigTransmisionSpectralData)
943#define icSigRadiantSpectralPcsData ((icColorSpaceSignature)icSigRadiantSpectralData)
944#define icSigBiDirReflectanceSpectralPcsData ((icColorSpaceSignature)icSigBiSpectralReflectanceData)
945#define icSigSparseMatrixSpectralPcsData ((icColorSpaceSignature)icSigSparseMatrixReflectanceData)
948#define icDefaultLuminance 160
966#define icMaxEnumClass ((icProfileClassSignature) 0xFFFFFFFF)
981#define icMaxEnumPlatform ((icPlatformSignature) 0xFFFFFFFF)
1017#define icMaxEnumCmm ((icCmmSignature) 0xFFFFFFFF)
1026#define icMaxEnumReferenceMediumGamut ((icReferenceMediumGamutSignature 0xFFFFFFFF)
1039#define icMaxEnumColorimetricIntentImageState ((icColorimetricIntentImageStateSignature 0xFFFFFFFF)
1051#define icMaxCurveSegSignature ((icCurveSegSignature 0xFFFFFFFF)
1063#define icMaxCurveElemSignature ((icCurveElemSignature 0xFFFFFFFF)
1071#define icMaxSingleSampledCurveType icExtendSingleSampledCurve
1081#define icMaxCurveElemSignature ((icCurveElemSignature 0xFFFFFFFF)
1092#define icMaxValueType icValueTypeUInt8
1100#define icSigAcsZero ((icAcsSignature) 0x00000000)
1105#define icRelativeSpectralData 0x00000000
1106#define icAbsoluteSpectralData 0x00000001
1107#define icXYZSpectralData 0x00000000
1108#define icLabSpectralData 0x00000002
1123#define icMaxEnumFlare ((icMeasurementFlare) 0xFFFFFFFF)
1124#define icMaxFlare ((icMeasurementFlare) 0xFFFFFFFF)
1136#define icMaxEnumGeometry ((icMeasurementGeometry) 0xFFFFFFFF)
1137#define icMaxGeometry ((icMeasurementGeometry) 0xFFFFFFFF)
1152#define icUnknownIntent ((icRenderingIntent) 0x3f3f3f3f)
1153#define icMaxEnumIntent ((icRenderingIntent) 0xFFFFFFFF)
1170#define icMaxEnumSpot ((icSpotShape) 0xFFFFFFFF)
1181#define icStdObsCustom icStdObsUnknown
1184#define icMaxEnumStdObs ((icStandardObserver) 0xFFFFFFFF)
1185#define icMaxStdObs ((icStandardObserver) 0xFFFFFFFF)
1218#define icIlluminantCustom icIlluminantUnknown
1221#define icMaxEnumIlluminant ((icIlluminant) 0xFFFFFFFF)
1222#define icMaxEnumIluminant ((icIlluminant) 0xFFFFFFFF)
1290#define icMaxEnumMeasurmentUnitSig ((icMeasurementUnitSig) 0xffffffff)
1304#define icMaxEnumColorant ((icColorantEncoding) 0xFFFF)
1359#define icSparseMatrixFloatNum ((icSparseMatrixType)0x0000)
1473#define icRange380nm 0x5df0
1474#define icRange400nm 0x5e40
1475#define icRange700nm 0x6178
1476#define icRange780nm 0x6218
unsigned int icUInt32Number
ChromaticAdaptation type.
CRDInfoType where [0] is the CRD product name count and string and [1] -[5] are the rendering intents...
The base date time number.
Profile sequence structure.
icTechnologySignature technology
icUInt64Number attributes
lut8, input & output tables are always 256 bytes in length
lut8Type, input & output tables are always 256 bytes in length
icMeasurementGeometry geometry
icStandardObserver stdObserver
icMeasurement measurement
MultiLocalizedUnicodeEntry type.
icUInt16Number languageCode
icUInt16Number countryCode
MultiLocalizedUnicode type.
icNamedColor2 takes the place of icNamedColor
icUInt32Number nDeviceCoords
icUInt32Number vendorFlag
icParametricCurveFull curve
A profile, we can't use icTagList here because its not at the end of the structure.
Profile sequence description.
Profile sequence description type.
icProfileSequenceDesc desc
icUInt16Number deviceCode
icS15Fixed16Number measurementValue
icS15Fixed16Number frequency
icUInt32Number screeningFlag
Lists of tags, tags, profile header and profile structure.
A Structure that may be used independently for a list of tags.
Structure describing either a UCR or BG curve.
Under color removal, black generation.
Under color removal, black generation type.
icIlluminant stdIluminant