|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--icc.types.ICCProfileHeader
An ICC profile contains a 128-byte header followed by a variable number of tags contained in a tag table. This class models the header portion of the profile. Most fields in the header are ints. Some, such as data and version are aggregations of ints. This class provides an api to those fields as well as the definition of standard constants which are used in the header.
jj2000.j2k.icc.ICCProfile
Field Summary | |
ICCDateTime |
dateTime
Header field |
int |
dwCMMFlags
Header field |
int |
dwCMMTypeSignature
Header field |
int |
dwColorSpaceType
Header field |
int |
dwCreatorSig
Header field |
int |
dwDeviceAttributes1
Header field |
int |
dwDeviceAttributesReserved
Header field |
int |
dwDeviceManufacturer
Header field |
int |
dwDeviceModel
Header field |
int |
dwPCSType
Header field |
int |
dwPlatformSignature
Header field |
int |
dwProfileClass
Header field |
int |
dwProfileSignature
Header field |
int |
dwProfileSize
Header field |
int |
dwRenderingIntent
Header field |
private static java.lang.String |
eol
|
private byte[] |
header
ICCProfile header byte array. |
private static java.lang.String |
kdwBlueColorantTag
|
private static java.lang.String |
kdwBlueTRCTag
|
private static java.lang.String |
kdwDisplayProfile
|
private static java.lang.String |
kdwGrayData
|
private static java.lang.String |
kdwGrayTRCTag
|
private static java.lang.String |
kdwGreenColorantTag
|
private static java.lang.String |
kdwGreenTRCTag
|
private static java.lang.String |
kdwInputProfile
|
static int |
kdwProfileSignature
Profile header signature |
static int |
kdwProfileSigReverse
Profile header signature |
private static java.lang.String |
kdwRedColorantTag
|
private static java.lang.String |
kdwRedTRCTag
|
private static java.lang.String |
kdwRGBData
|
private static java.lang.String |
kdwXYZData
|
private static int |
offCMMFlags
|
private static int |
offCMMTypeSignature
|
private static int |
offColorSpaceType
|
private static int |
offCreatorSig
|
private static int |
offDateTime
|
private static int |
offDeviceAttributes1
|
private static int |
offDeviceAttributesReserved
|
private static int |
offDeviceManufacturer
|
private static int |
offDeviceModel
|
private static int |
offPCSIlluminant
|
private static int |
offPCSType
|
private static int |
offPlatformSignature
|
private static int |
offProfileClass
|
private static int |
offProfileSignature
|
private static int |
offProfileSize
|
private static int |
offProfileVersion
|
private static int |
offRenderingIntent
|
private static int |
offReserved
|
XYZNumber |
PCSIlluminant
Header field |
ICCProfileVersion |
profileVersion
Header field |
byte[] |
reserved
Header field |
static int |
size
Size of the header |
Constructor Summary | |
ICCProfileHeader()
Construct and empty header |
|
ICCProfileHeader(byte[] data)
Construct a header from a complete ICCProfile |
Method Summary | |
java.lang.String |
toString()
String representation of class |
void |
write(java.io.RandomAccessFile raf)
Write out this ICCProfile header to a RandomAccessFile |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final java.lang.String eol
private byte[] header
public static int kdwProfileSignature
public static int kdwProfileSigReverse
private static final java.lang.String kdwInputProfile
private static final java.lang.String kdwDisplayProfile
private static final java.lang.String kdwRGBData
private static final java.lang.String kdwGrayData
private static final java.lang.String kdwXYZData
private static final java.lang.String kdwGrayTRCTag
private static final java.lang.String kdwRedColorantTag
private static final java.lang.String kdwGreenColorantTag
private static final java.lang.String kdwBlueColorantTag
private static final java.lang.String kdwRedTRCTag
private static final java.lang.String kdwGreenTRCTag
private static final java.lang.String kdwBlueTRCTag
private static final int offProfileSize
private static final int offCMMTypeSignature
private static final int offProfileVersion
private static final int offProfileClass
private static final int offColorSpaceType
private static final int offPCSType
private static final int offDateTime
private static final int offProfileSignature
private static final int offPlatformSignature
private static final int offCMMFlags
private static final int offDeviceManufacturer
private static final int offDeviceModel
private static final int offDeviceAttributes1
private static final int offDeviceAttributesReserved
private static final int offRenderingIntent
private static final int offPCSIlluminant
private static final int offCreatorSig
private static final int offReserved
public static final int size
public int dwProfileSize
public int dwCMMTypeSignature
public int dwProfileClass
public int dwColorSpaceType
public int dwPCSType
public int dwProfileSignature
public int dwPlatformSignature
public int dwCMMFlags
public int dwDeviceManufacturer
public int dwDeviceModel
public int dwDeviceAttributes1
public int dwDeviceAttributesReserved
public int dwRenderingIntent
public int dwCreatorSig
public byte[] reserved
public ICCProfileVersion profileVersion
public ICCDateTime dateTime
public XYZNumber PCSIlluminant
Constructor Detail |
public ICCProfileHeader()
public ICCProfileHeader(byte[] data)
Method Detail |
public void write(java.io.RandomAccessFile raf) throws java.io.IOException
raf
- sink for data
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |