[]
This class models the ICCProfile file. This file is a binary file which is divided into two parts, an ICCProfileHeader followed by an ICCTagTable. The header is a straightforward list of descriptive parameters such as profile size, version, date and various more esoteric parameters. The tag table is a structured list of more complexly aggragated data describing things such as ICC curves, copyright information, descriptive text blocks, etc.
Classes exist to model the header and tag table and their various constituent parts the developer
is refered to these for further information on the structure and contents of the header and tag table.
public abstract class ICCProfile
Name | Description |
---|---|
ICCProfile(ColorSpace) | ParameterList constructor |
Name | Description |
---|---|
BITS_PER_BYTE | |
BITS_PER_INT | |
BITS_PER_LONG | |
BITS_PER_SHORT | |
BLUE | RGB index. |
BYTES_PER_INT | |
BYTES_PER_LONG | |
BYTES_PER_SHORT | |
GRAY | Gray index. |
GREEN | RGB index. |
RED | RGB index. |
boolean_size | Size of native type |
byte_size | Size of native type |
char_size | Size of native type |
double_size | Size of native type |
float_size | Size of native type |
int_size | Size of native type |
kMonochromeInput | input type |
kThreeCompInput | input type |
kdwBlueColorantTag | tag signature |
kdwBlueTRCTag | tag signature |
kdwCopyrightTag | tag signature |
kdwDisplayProfile | tag type |
kdwGrayData | tag type |
kdwGrayTRCTag | tag signature |
kdwGreenColorantTag | tag signature |
kdwGreenTRCTag | tag signature |
kdwInputProfile | profile type |
kdwMediaWhiteTag | tag signature |
kdwProfileDescTag | tag signature |
kdwProfileSigReverse | signature |
kdwProfileSignature | signature |
kdwRGBData | tag type |
kdwRedColorantTag | tag signature |
kdwRedTRCTag | tag signature |
kdwXYZData | tag type |
long_size | Size of native type |
short_size | Size of native type |
Name | Description |
---|---|
Header | Access the profile header |
TagTable | Access the profile tag table |
Name | Description |
---|---|
ToString() | Provide a suitable string representation for the class |
ToString(byte[]) | |
getICCDateTime(byte[], int) | Create an ICCDateTime from byte [] input |
getICCProfileVersion(byte[], int) | Create an ICCProfileVersion from byte [] input |
getInt(byte[], int) | Create an int from a byte [4]. |
getInt(byte[], int, bool) | Create an int from a byte [4], with optional byte swapping. |
getIntFromString(string) | Creates an int from a 4 character String |
getLong(byte[], int) | Create an long from a byte [8]. |
getShort(byte[], int) | Create a short from a two byte []. |
getShort(byte[], int, bool) | Create a short from a two byte [], with optional byte swapping. |
getString(byte[], int, int, bool) | Create a String from a byte []. Optionally swap adjacent byte pairs. Intended to be used to create integer String representations allowing for endian translations. |
getXYZNumber(byte[], int) | Create an XYZNumber from byte [] input |
parse() | Parse this ICCProfile into a RestrictedICCProfile which is appropriate to the data in this profile. Either a MonochromeInputRestrictedProfile or MatrixBasedRestrictedProfile is returned |
setInt(int) | Separate bytes in an int into a byte array lsb to msb order. |
setInt(int, byte[]) | Separate bytes in an int into a byte array lsb to msb order. Return the result in the provided array |
setLong(long) | Separate bytes in a long into a byte array lsb to msb order. |
setLong(long, byte[]) | Separate bytes in a long into a byte array lsb to msb order. Return the result in the provided array |
toHexString(byte) | Create a two character hex representation of a byte |
toHexString(short) | Create a 4 character hex representation of a short |
toHexString(int) | Create a 8 character hex representation of a int |