Class GFICCProfile
java.lang.Object
org.verapdf.model.GenericModelObject
org.verapdf.gf.model.impl.external.GFExternal
org.verapdf.gf.model.impl.external.GFICCProfile
- All Implemented Interfaces:
Object,External,ICCProfile
- Direct Known Subclasses:
GFICCInputProfile,GFICCOutputProfile
- Author:
- Maksim Bezrukov
-
Field Summary
Fields inherited from class org.verapdf.model.GenericModelObject
contextDependent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiona four-byte string identifying the device class of the profile (GRAY, RGB, CMYK, LAB)a four-byte string identifying the device class of the profile (monitor, printer, scanner, abstract color space)Indicate validity of icc profile.getN()value of the N key in the ICC profile stream dictionaryversion of the ICC profileMethods inherited from class org.verapdf.model.GenericModelObject
getContext, getExtraContext, getID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.verapdf.model.baselayer.Object
getContext, getExtraContext, getID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
Constructor Details
-
GFICCProfile
-
-
Method Details
-
getN
Description copied from interface:ICCProfilevalue of the N key in the ICC profile stream dictionary- Specified by:
getNin interfaceICCProfile- Returns:
- number of colorants for ICC profile, described in profile dictionary
-
getdeviceClass
Description copied from interface:ICCProfilea four-byte string identifying the device class of the profile (monitor, printer, scanner, abstract color space)- Specified by:
getdeviceClassin interfaceICCProfile- Returns:
- string representation of device class or null, if profile length is too small
-
getcolorSpace
Description copied from interface:ICCProfilea four-byte string identifying the device class of the profile (GRAY, RGB, CMYK, LAB)- Specified by:
getcolorSpacein interfaceICCProfile- Returns:
- string representation of color space or null, if profile length is too small
-
getversion
Description copied from interface:ICCProfileversion of the ICC profile- Specified by:
getversionin interfaceICCProfile- Returns:
- version of ICC profile or null, if profile length is too small
-
getisValid
Indicate validity of icc profile.- Specified by:
getisValidin interfaceICCProfile- Returns:
- true if profile is valid, false if ICC header is less than 128 bytes or stream cannot be read. Other checks should be implemented by customer.
-