public class PBoxICCProfile extends PBoxExternal implements ICCProfile
| Modifier and Type | Field and Description |
|---|---|
static int |
COLOR_SPACE_OFFSET
Offset of color space in header
|
static int |
DEVICE_CLASS_OFFSET
Offset of device class in header
|
static int |
HEADER_LENGTH
Length of icc output profile header
|
static int |
REQUIRED_LENGTH
Expected length for device class and so on
|
static int |
SUBVERSION_BYTE
Offset of subversion byte
|
static int |
VERSION_BYTE
Offset of version byte
|
static int |
VERSION_LENGTH
Expected length version
|
contextDependent| Modifier | Constructor and Description |
|---|---|
protected |
PBoxICCProfile(COSStream profileStream,
String type) |
| Modifier and Type | Method and Description |
|---|---|
String |
getcolorSpace()
a four-byte string identifying the device class of the profile (GRAY, RGB, CMYK, LAB)
|
String |
getdeviceClass()
a four-byte string identifying the device class of the profile (monitor, printer, scanner, abstract color space)
|
Boolean |
getisValid()
Indicate validity of icc profile.
|
Long |
getN()
value of the N key in the ICC profile stream dictionary
|
Double |
getversion()
version of the ICC profile
|
getContext, getExtraContext, getID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContext, getExtraContext, getID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentpublic static final int HEADER_LENGTH
public static final int DEVICE_CLASS_OFFSET
public static final int COLOR_SPACE_OFFSET
public static final int REQUIRED_LENGTH
public static final int VERSION_LENGTH
public static final int VERSION_BYTE
public static final int SUBVERSION_BYTE
public String getdeviceClass()
ICCProfilegetdeviceClass in interface ICCProfilepublic Long getN()
ICCProfilegetN in interface ICCProfilepublic String getcolorSpace()
ICCProfilegetcolorSpace in interface ICCProfilepublic Double getversion()
ICCProfilegetversion in interface ICCProfilepublic Boolean getisValid()
getisValid in interface ICCProfileCopyright © 2015–2021 The veraPDF Consortium. All rights reserved.