java.awt.color

Class ICC_Profile

Implemented Interfaces:
Serializable
Known Direct Subclasses:
ICC_ProfileGray, ICC_ProfileRGB

public class ICC_Profile
extends Object
implements Serializable

A representation of color profile data for device independent and device dependent color spaces based on the International Color Consortium Specification ICC.1:2001-12, File Format for Color Profiles, (see http://www.color.org).

An ICC_ColorSpace object can be constructed from an appropriate ICC_Profile. Typically, an ICC_ColorSpace would be associated with an ICC Profile which is either an input, display, or output profile (see the ICC specification). There are also device link, abstract, color space conversion, and named color profiles. These are less useful for tagging a color or image, but are useful for other purposes (in particular device link profiles can provide improved performance for converting from one device's color space to another's).

ICC Profiles represent transformations from the color space of the profile (e.g. a monitor) to a Profile Connection Space (PCS). Profiles of interest for tagging images or colors have a PCS which is one of the two specific device independent spaces (one CIEXYZ space and one CIELab space) defined in the ICC Profile Format Specification. Most profiles of interest either have invertible transformations or explicitly specify transformations going both directions.

See Also:
ICC_ColorSpace, Serialized Form

Field Summary

static int
CLASS_ABSTRACT
Profile class is abstract.
static int
CLASS_COLORSPACECONVERSION
Profile class is color space conversion.
static int
CLASS_DEVICELINK
Profile class is device link.
static int
CLASS_DISPLAY
Profile class is display.
static int
CLASS_INPUT
Profile class is input.
static int
CLASS_NAMEDCOLOR
Profile class is named color.
static int
CLASS_OUTPUT
Profile class is output.
static int
icAbsoluteColorimetric
ICC Profile Rendering Intent: AbsoluteColorimetric.
static int
icCurveCount
ICC Profile Constant: curveType count.
static int
icCurveData
ICC Profile Constant: curveType data.
static int
icHdrAttributes
ICC Profile Header Location: device attributes.
static int
icHdrCmmId
ICC Profile Header Location: CMM for this profile.
static int
icHdrColorSpace
ICC Profile Header Location: color space of data.
static int
icHdrCreator
ICC Profile Header Location: profile creator.
static int
icHdrDate
ICC Profile Header Location: date profile was created.
static int
icHdrDeviceClass
ICC Profile Header Location: type of profile.
static int
icHdrFlags
ICC Profile Header Location: various bit settings.
static int
icHdrIlluminant
ICC Profile Header Location: profile illuminant.
static int
icHdrMagic
ICC Profile Header Location: icMagicNumber.
static int
icHdrManufacturer
ICC Profile Header Location: device manufacturer.
static int
icHdrModel
ICC Profile Header Location: device model number.
static int
icHdrPcs
ICC Profile Header Location: PCS - XYZ or Lab only.
static int
icHdrPlatform
ICC Profile Header Location: primary platform.
static int
icHdrProfileID
ICC Profile Header Location: profile's ID.
static int
icHdrRenderingIntent
ICC Profile Header Location: rendering intent.
static int
icHdrSize
ICC Profile Header Location: profile size in bytes.
static int
icHdrVersion
ICC Profile Header Location: format version number.
static int
icICCAbsoluteColorimetric
ICC Profile Rendering Intent: ICC-AbsoluteColorimetric.
static int
icMediaRelativeColorimetric
ICC Profile Rendering Intent: Media-RelativeColorimetric.
static int
icPerceptual
ICC Profile Rendering Intent: Perceptual.
static int
icRelativeColorimetric
ICC Profile Rendering Intent: RelativeColorimetric.
static int
icSaturation
ICC Profile Rendering Intent: Saturation.
static int
icSigAToB0Tag
ICC Profile Tag Signature: 'A2B0'.
static int
icSigAToB1Tag
ICC Profile Tag Signature: 'A2B1'.
static int
icSigAToB2Tag
ICC Profile Tag Signature: 'A2B2'.
static int
icSigAbstractClass
ICC Profile Class Signature: 'abst'.
static int
icSigBToA0Tag
ICC Profile Tag Signature: 'B2A0'.
static int
icSigBToA1Tag
ICC Profile Tag Signature: 'B2A1'.
static int
icSigBToA2Tag
ICC Profile Tag Signature: 'B2A2'.
static int
icSigBlueColorantTag
ICC Profile Tag Signature: 'bXYZ'.
static int
icSigBlueMatrixColumnTag
ICC Profile Tag Signature: 'bXYZ'.
static int
icSigBlueTRCTag
ICC Profile Tag Signature: 'bTRC'.
static int
icSigCalibrationDateTimeTag
ICC Profile Tag Signature: 'calt'.
static int
icSigCharTargetTag
ICC Profile Tag Signature: 'targ'.
static int
icSigChromaticAdaptationTag
ICC Profile Tag Signature: 'chad'.
static int
icSigChromaticityTag
ICC Profile Tag Signature: 'chrm'.
static int
icSigCmyData
ICC Profile Color Space Type Signature: 'CMY '.
static int
icSigCmykData
ICC Profile Color Space Type Signature: 'CMYK'.
static int
icSigColorSpaceClass
ICC Profile Class Signature: 'spac'.
static int
icSigColorantOrderTag
ICC Profile Tag Signature: 'clro'.
static int
icSigColorantTableTag
ICC Profile Tag Signature: 'clrt'.
static int
icSigCopyrightTag
ICC Profile Tag Signature: 'cprt'.
static int
icSigCrdInfoTag
ICC Profile Tag Signature: 'crdi'.
static int
icSigDeviceMfgDescTag
ICC Profile Tag Signature: 'dmnd'.
static int
icSigDeviceModelDescTag
ICC Profile Tag Signature: 'dmdd'.
static int
icSigDeviceSettingsTag
ICC Profile Tag Signature: 'devs'.
static int
icSigDisplayClass
ICC Profile Class Signature: 'mntr'.
static int
icSigGamutTag
ICC Profile Tag Signature: 'gamt'.
static int
icSigGrayData
ICC Profile Color Space Type Signature: 'GRAY'.
static int
icSigGrayTRCTag
ICC Profile Tag Signature: 'kTRC'.
static int
icSigGreenColorantTag
ICC Profile Tag Signature: 'gXYZ'.
static int
icSigGreenMatrixColumnTag
ICC Profile Tag Signature: 'gXYZ'.
static int
icSigGreenTRCTag
ICC Profile Tag Signature: 'gTRC'.
static int
icSigHead
ICC Profile Tag Signature: 'head' - special.
static int
icSigHlsData
ICC Profile Color Space Type Signature: 'HLS'.
static int
icSigHsvData
ICC Profile Color Space Type Signature: 'HSV'.
static int
icSigInputClass
ICC Profile Class Signature: 'scnr'.
static int
icSigLabData
ICC Profile Color Space Type Signature: 'Lab '.
static int
icSigLinkClass
ICC Profile Class Signature: 'link'.
static int
icSigLuminanceTag
ICC Profile Tag Signature: 'lumi'.
static int
icSigLuvData
ICC Profile Color Space Type Signature: 'Luv '.
static int
icSigMeasurementTag
ICC Profile Tag Signature: 'meas'.
static int
icSigMediaBlackPointTag
ICC Profile Tag Signature: 'bkpt'.
static int
icSigMediaWhitePointTag
ICC Profile Tag Signature: 'wtpt'.
static int
icSigNamedColor2Tag
ICC Profile Tag Signature: 'ncl2'.
static int
icSigNamedColorClass
ICC Profile Class Signature: 'nmcl'.
static int
icSigOutputClass
ICC Profile Class Signature: 'prtr'.
static int
icSigOutputResponseTag
ICC Profile Tag Signature: 'resp'.
static int
icSigPreview0Tag
ICC Profile Tag Signature: 'pre0'.
static int
icSigPreview1Tag
ICC Profile Tag Signature: 'pre1'.
static int
icSigPreview2Tag
ICC Profile Tag Signature: 'pre2'.
static int
icSigProfileDescriptionTag
ICC Profile Tag Signature: 'desc'.
static int
icSigProfileSequenceDescTag
ICC Profile Tag Signature: 'pseq'.
static int
icSigPs2CRD0Tag
ICC Profile Tag Signature: 'psd0'.
static int
icSigPs2CRD1Tag
ICC Profile Tag Signature: 'psd1'.
static int
icSigPs2CRD2Tag
ICC Profile Tag Signature: 'psd2'.
static int
icSigPs2CRD3Tag
ICC Profile Tag Signature: 'psd3'.
static int
icSigPs2CSATag
ICC Profile Tag Signature: 'ps2s'.
static int
icSigPs2RenderingIntentTag
ICC Profile Tag Signature: 'ps2i'.
static int
icSigRedColorantTag
ICC Profile Tag Signature: 'rXYZ'.
static int
icSigRedMatrixColumnTag
ICC Profile Tag Signature: 'rXYZ'.
static int
icSigRedTRCTag
ICC Profile Tag Signature: 'rTRC'.
static int
icSigRgbData
ICC Profile Color Space Type Signature: 'RGB '.
static int
icSigScreeningDescTag
ICC Profile Tag Signature: 'scrd'.
static int
icSigScreeningTag
ICC Profile Tag Signature: 'scrn'.
static int
icSigSpace2CLR
ICC Profile Color Space Type Signature: '2CLR'.
static int
icSigSpace3CLR
ICC Profile Color Space Type Signature: '3CLR'.
static int
icSigSpace4CLR
ICC Profile Color Space Type Signature: '4CLR'.
static int
icSigSpace5CLR
ICC Profile Color Space Type Signature: '5CLR'.
static int
icSigSpace6CLR
ICC Profile Color Space Type Signature: '6CLR'.
static int
icSigSpace7CLR
ICC Profile Color Space Type Signature: '7CLR'.
static int
icSigSpace8CLR
ICC Profile Color Space Type Signature: '8CLR'.
static int
icSigSpace9CLR
ICC Profile Color Space Type Signature: '9CLR'.
static int
icSigSpaceACLR
ICC Profile Color Space Type Signature: 'ACLR'.
static int
icSigSpaceBCLR
ICC Profile Color Space Type Signature: 'BCLR'.
static int
icSigSpaceCCLR
ICC Profile Color Space Type Signature: 'CCLR'.
static int
icSigSpaceDCLR
ICC Profile Color Space Type Signature: 'DCLR'.
static int
icSigSpaceECLR
ICC Profile Color Space Type Signature: 'ECLR'.
static int
icSigSpaceFCLR
ICC Profile Color Space Type Signature: 'FCLR'.
static int
icSigTechnologyTag
ICC Profile Tag Signature: 'tech'.
static int
icSigUcrBgTag
ICC Profile Tag Signature: 'bfd '.
static int
icSigViewingCondDescTag
ICC Profile Tag Signature: 'vued'.
static int
icSigViewingConditionsTag
ICC Profile Tag Signature: 'view'.
static int
icSigXYZData
ICC Profile Color Space Type Signature: 'XYZ '.
static int
icSigYCbCrData
ICC Profile Color Space Type Signature: 'YCbr'.
static int
icSigYxyData
ICC Profile Color Space Type Signature: 'Yxy '.
static int
icTagReserved
ICC Profile Constant: reserved.
static int
icTagType
ICC Profile Constant: tag type signaturE.
static int
icXYZNumberX
ICC Profile Constant: XYZNumber X.

Method Summary

protected void
finalize()
Frees the resources associated with an ICC_Profile object.
int
getColorSpaceType()
Returns the color space type.
byte[]
getData()
Returns a byte array corresponding to the data of this ICC_Profile.
byte[]
getData(int tagSignature)
Returns a particular tagged data element from the profile as a byte array.
static ICC_Profile
getInstance(byte[] data)
Constructs an ICC_Profile object corresponding to the data in a byte array.
static ICC_Profile
getInstance(int cspace)
Constructs an ICC_Profile corresponding to one of the specific color spaces defined by the ColorSpace class (for example CS_sRGB).
static ICC_Profile
getInstance(InputStream s)
Constructs an ICC_Profile corresponding to the data in an InputStream.
static ICC_Profile
getInstance(String fileName)
Constructs an ICC_Profile corresponding to the data in a file.
int
getMajorVersion()
Returns profile major version.
int
getMinorVersion()
Returns profile minor version.
int
getNumComponents()
Returns the number of color components in the "input" color space of this profile.
int
getPCSType()
Returns the color space type of the Profile Connection Space (PCS).
int
getProfileClass()
Returns the profile class.
protected Object
readResolve()
Resolves instances being deserialized into instances registered with CMM.
void
setData(int tagSignature, byte[] tagData)
Sets a particular tagged data element in the profile from a byte array.
void
write(OutputStream s)
Write this ICC_Profile to an OutputStream.
void
write(String fileName)
Write this ICC_Profile to a file.

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Details

CLASS_ABSTRACT

public static final int CLASS_ABSTRACT
Profile class is abstract.
Field Value:
5
Usages and Demos :

View More Examples of ICC_Profile.CLASS_ABSTRACT
   1:                                           ICC_Profile.icSigAbstractClass,
   2:                                           ICC_Profile.CLASS_ABSTRACT,
   3:                                           ICC_Profile.icSigNamedColorClass,
   4:                                           ICC_Profile.CLASS_NAMEDCOLOR
   5:                                         };

View Full Code Here

CLASS_COLORSPACECONVERSION

public static final int CLASS_COLORSPACECONVERSION
Profile class is color space conversion.
Field Value:
4
Usages and Demos :

View More Examples of ICC_Profile.CLASS_COLORSPACECONVERSION
   1:                                           ICC_Profile.icSigColorSpaceClass,
   2:                                           ICC_Profile.CLASS_COLORSPACECONVERSION,
   3:                                           ICC_Profile.icSigAbstractClass,
   4:                                           ICC_Profile.CLASS_ABSTRACT,
   5:                                           ICC_Profile.icSigNamedColorClass,

View Full Code Here

CLASS_DEVICELINK

public static final int CLASS_DEVICELINK
Profile class is device link.
Field Value:
3
Usages and Demos :

View More Examples of ICC_Profile.CLASS_DEVICELINK
   1:                                           ICC_Profile.icSigLinkClass,
   2:                                           ICC_Profile.CLASS_DEVICELINK,
   3:                                           ICC_Profile.icSigColorSpaceClass,
   4:         ...
   5:     profileColorSpace = -1;
   6:     if (profileClass != ICC_Profile.CLASS_DEVICELINK)
   7:       {
   8:         if (pcsSig == ICC_Profile.icSigXYZData)
   9:           profileColorSpace = ColorSpace.TYPE_XYZ;

View Full Code Here

CLASS_DISPLAY

public static final int CLASS_DISPLAY
Profile class is display.
Field Value:
1
Usages and Demos :

View More Examples of ICC_Profile.CLASS_DISPLAY
   1:                                           ICC_Profile.icSigDisplayClass,
   2:                                           ICC_Profile.CLASS_DISPLAY,
   3:                                           ICC_Profile.icSigOutputClass,
   4:         ...
   5:     attributes = new byte[8];
   6:     profileClass = ICC_Profile.CLASS_DISPLAY;
   7:   }
   8: 
   9:   public ProfileHeader(byte[] data)

View Full Code Here

CLASS_INPUT

public static final int CLASS_INPUT
Profile class is input.
Field Value:
0
Usages and Demos :

View More Examples of ICC_Profile.CLASS_INPUT
   1:                                           ICC_Profile.icSigInputClass,
   2:                                           ICC_Profile.CLASS_INPUT,
   3:                                           ICC_Profile.icSigDisplayClass,
   4:                                           ICC_Profile.CLASS_DISPLAY,
   5:                                           ICC_Profile.icSigOutputClass,

View Full Code Here

CLASS_NAMEDCOLOR

public static final int CLASS_NAMEDCOLOR
Profile class is named color.
Field Value:
6

CLASS_OUTPUT

public static final int CLASS_OUTPUT
Profile class is output.
Field Value:
2
Usages and Demos :

View More Examples of ICC_Profile.CLASS_OUTPUT
   1:                                           ICC_Profile.icSigOutputClass,
   2:                                           ICC_Profile.CLASS_OUTPUT,
   3:                                           ICC_Profile.icSigLinkClass,
   4:                                           ICC_Profile.CLASS_DEVICELINK,
   5:                                           ICC_Profile.icSigColorSpaceClass,

View Full Code Here

icAbsoluteColorimetric

public static final int icAbsoluteColorimetric
ICC Profile Rendering Intent: AbsoluteColorimetric.
Field Value:
3

icCurveCount

public static final int icCurveCount
ICC Profile Constant: curveType count.
Field Value:
8

icCurveData

public static final int icCurveData
ICC Profile Constant: curveType data.
Field Value:
12

icHdrAttributes

public static final int icHdrAttributes
ICC Profile Header Location: device attributes.
Field Value:
56

icHdrCmmId

public static final int icHdrCmmId
ICC Profile Header Location: CMM for this profile.
Field Value:
4
Usages and Demos :

View More Examples of ICC_Profile.icHdrCmmId
   1: 
   2:     cmmId = buf.getInt(ICC_Profile.icHdrCmmId);
   3: 
   4:         ...
   5:     buf.putInt(ICC_Profile.icHdrSize, size);
   6:     buf.putInt(ICC_Profile.icHdrCmmId, cmmId);
   7:     buf.putShort(ICC_Profile.icHdrVersion,
   8:                  (short) (majorVersion << 8 | minorVersion));
   9:     for (int i = 1; i < classMap.length; i += 2)

View Full Code Here

icHdrColorSpace

public static final int icHdrColorSpace
ICC Profile Header Location: color space of data.
Field Value:
16
Usages and Demos :

View More Examples of ICC_Profile.icHdrColorSpace
   1: 
   2:     int csSig = buf.getInt(ICC_Profile.icHdrColorSpace);
   3:     colorSpace = -1;
   4:         ...
   5:       if (csTypeMap[i] == colorSpace)
   6:         buf.putInt(ICC_Profile.icHdrColorSpace, csTypeMap[i - 1]);
   7:     for (int i = 1; i < csTypeMap.length; i += 2)
   8:       if (csTypeMap[i] == profileColorSpace)
   9:         buf.putInt(ICC_Profile.icHdrPcs, csTypeMap[i - 1]);

View Full Code Here

icHdrCreator

public static final int icHdrCreator
ICC Profile Header Location: profile creator.
Field Value:
80
Usages and Demos :

View More Examples of ICC_Profile.icHdrCreator
   1:     ClasspathSystem.arraycopy(data, ICC_Profile.icHdrIlluminant, illuminant, 0, 12);
   2:     creatorSig = buf.getInt(ICC_Profile.icHdrCreator);
   3:   }
   4:         ...
   5:                      illuminant.length);
   6:     buf.putInt(ICC_Profile.icHdrCreator, creatorSig);
   7:     return buf.array();
   8:   }

View Full Code Here

icHdrDate

public static final int icHdrDate
ICC Profile Header Location: date profile was created.
Field Value:
24

icHdrDeviceClass

public static final int icHdrDeviceClass
ICC Profile Header Location: type of profile.
Field Value:
12
Usages and Demos :

View More Examples of ICC_Profile.icHdrDeviceClass
   1: 
   2:     int classSig = buf.getInt(ICC_Profile.icHdrDeviceClass);
   3:     profileClass = -1;
   4:         ...
   5:       if (profileClass == classMap[i])
   6:         buf.putInt(ICC_Profile.icHdrDeviceClass, classMap[i - 1]);
   7:     for (int i = 1; i < csTypeMap.length; i += 2)
   8:       if (csTypeMap[i] == colorSpace)
   9:         buf.putInt(ICC_Profile.icHdrColorSpace, csTypeMap[i - 1]);

View Full Code Here

icHdrFlags

public static final int icHdrFlags
ICC Profile Header Location: various bit settings.
Field Value:
44
Usages and Demos :

View More Examples of ICC_Profile.icHdrFlags
   1:     platform = buf.getInt(ICC_Profile.icHdrPlatform);
   2:     flags = buf.getInt(ICC_Profile.icHdrFlags);
   3:     manufacturerSig = buf.getInt(ICC_Profile.icHdrManufacturer);
   4:         ...
   5:     buf.putInt(ICC_Profile.icHdrPlatform, platform);
   6:     buf.putInt(ICC_Profile.icHdrFlags, flags);
   7:     buf.putInt(ICC_Profile.icHdrManufacturer, manufacturerSig);
   8:     buf.putInt(ICC_Profile.icHdrModel, modelSig);
   9:     ClasspathSystem.arraycopy(attributes, 0, data, ICC_Profile.icHdrAttributes,

View Full Code Here

icHdrIlluminant

public static final int icHdrIlluminant
ICC Profile Header Location: profile illuminant.
Field Value:
68

icHdrMagic

public static final int icHdrMagic
ICC Profile Header Location: icMagicNumber.
Field Value:
36
Usages and Demos :

View More Examples of ICC_Profile.icHdrMagic
   1: 
   2:     magic = buf.getInt(ICC_Profile.icHdrMagic);
   3: 
   4:         ...
   5:                      timestamp.length);
   6:     buf.putInt(ICC_Profile.icHdrMagic, icMagicNumber);
   7:     buf.putInt(ICC_Profile.icHdrPlatform, platform);
   8:     buf.putInt(ICC_Profile.icHdrFlags, flags);
   9:     buf.putInt(ICC_Profile.icHdrManufacturer, manufacturerSig);

View Full Code Here

icHdrManufacturer

public static final int icHdrManufacturer
ICC Profile Header Location: device manufacturer.
Field Value:
48
Usages and Demos :

View More Examples of ICC_Profile.icHdrManufacturer
   1:     flags = buf.getInt(ICC_Profile.icHdrFlags);
   2:     manufacturerSig = buf.getInt(ICC_Profile.icHdrManufacturer);
   3:     modelSig = buf.getInt(ICC_Profile.icHdrModel);
   4:         ...
   5:     buf.putInt(ICC_Profile.icHdrFlags, flags);
   6:     buf.putInt(ICC_Profile.icHdrManufacturer, manufacturerSig);
   7:     buf.putInt(ICC_Profile.icHdrModel, modelSig);
   8:     ClasspathSystem.arraycopy(attributes, 0, data, ICC_Profile.icHdrAttributes,
   9:                      attributes.length);

View Full Code Here

icHdrModel

public static final int icHdrModel
ICC Profile Header Location: device model number.
Field Value:
52
Usages and Demos :

View More Examples of ICC_Profile.icHdrModel
   1:     manufacturerSig = buf.getInt(ICC_Profile.icHdrManufacturer);
   2:     modelSig = buf.getInt(ICC_Profile.icHdrModel);
   3:     attributes = new byte[8];
   4:         ...
   5:     buf.putInt(ICC_Profile.icHdrManufacturer, manufacturerSig);
   6:     buf.putInt(ICC_Profile.icHdrModel, modelSig);
   7:     ClasspathSystem.arraycopy(attributes, 0, data, ICC_Profile.icHdrAttributes,
   8:                      attributes.length);
   9:     buf.putInt(ICC_Profile.icHdrRenderingIntent, intent);

View Full Code Here

icHdrPcs

public static final int icHdrPcs
ICC Profile Header Location: PCS - XYZ or Lab only.
Field Value:
20
Usages and Demos :

View More Examples of ICC_Profile.icHdrPcs
   1: 
   2:     int pcsSig = buf.getInt(ICC_Profile.icHdrPcs);
   3:     profileColorSpace = -1;
   4:         ...
   5:       if (csTypeMap[i] == profileColorSpace)
   6:         buf.putInt(ICC_Profile.icHdrPcs, csTypeMap[i - 1]);
   7: 
   8:     ClasspathSystem.arraycopy(timestamp, 0, data, ICC_Profile.icHdrDate,
   9:                      timestamp.length);

View Full Code Here

icHdrPlatform

public static final int icHdrPlatform
ICC Profile Header Location: primary platform.
Field Value:
40
Usages and Demos :

View More Examples of ICC_Profile.icHdrPlatform
   1: 
   2:     platform = buf.getInt(ICC_Profile.icHdrPlatform);
   3:     flags = buf.getInt(ICC_Profile.icHdrFlags);
   4:         ...
   5:     buf.putInt(ICC_Profile.icHdrMagic, icMagicNumber);
   6:     buf.putInt(ICC_Profile.icHdrPlatform, platform);
   7:     buf.putInt(ICC_Profile.icHdrFlags, flags);
   8:     buf.putInt(ICC_Profile.icHdrManufacturer, manufacturerSig);
   9:     buf.putInt(ICC_Profile.icHdrModel, modelSig);

View Full Code Here

icHdrProfileID

public static final int icHdrProfileID
ICC Profile Header Location: profile's ID.
Field Value:
84

icHdrRenderingIntent

public static final int icHdrRenderingIntent
ICC Profile Header Location: rendering intent.
Field Value:
64
Usages and Demos :

View More Examples of ICC_Profile.icHdrRenderingIntent
   1:     ClasspathSystem.arraycopy(data, ICC_Profile.icHdrAttributes, attributes, 0, 8);
   2:     intent = buf.getInt(ICC_Profile.icHdrRenderingIntent);
   3:     illuminant = new byte[12];
   4:         ...
   5:                      attributes.length);
   6:     buf.putInt(ICC_Profile.icHdrRenderingIntent, intent);
   7:     ClasspathSystem.arraycopy(illuminant, 0, data, ICC_Profile.icHdrIlluminant,
   8:                      illuminant.length);
   9:     buf.putInt(ICC_Profile.icHdrCreator, creatorSig);

View Full Code Here

icHdrSize

public static final int icHdrSize
ICC Profile Header Location: profile size in bytes.
Field Value:
0
Usages and Demos :

View More Examples of ICC_Profile.icHdrSize
   1: 
   2:     size = buf.getInt(ICC_Profile.icHdrSize);
   3: 
   4:         ...
   5:     ByteBuffer buf = ByteBuffer.wrap(data);
   6:     buf.putInt(ICC_Profile.icHdrSize, size);
   7:     buf.putInt(ICC_Profile.icHdrCmmId, cmmId);
   8:     buf.putShort(ICC_Profile.icHdrVersion,
   9:                  (short) (majorVersion << 8 | minorVersion));

View Full Code Here

icHdrVersion

public static final int icHdrVersion
ICC Profile Header Location: format version number.
Field Value:
8
Usages and Demos :

View More Examples of ICC_Profile.icHdrVersion
   1: 
   2:     majorVersion = (int) (data[ICC_Profile.icHdrVersion]);
   3:         ...
   4:     minorVersion = (int) (data[ICC_Profile.icHdrVersion + 1]);
   5: 
   6:         ...
   7:     buf.putInt(ICC_Profile.icHdrCmmId, cmmId);
   8:     buf.putShort(ICC_Profile.icHdrVersion,
   9:                  (short) (majorVersion << 8 | minorVersion));

View Full Code Here

icICCAbsoluteColorimetric

public static final int icICCAbsoluteColorimetric
ICC Profile Rendering Intent: ICC-AbsoluteColorimetric.
Field Value:
3

icMediaRelativeColorimetric

public static final int icMediaRelativeColorimetric
ICC Profile Rendering Intent: Media-RelativeColorimetric.
Field Value:
1

icPerceptual

public static final int icPerceptual
ICC Profile Rendering Intent: Perceptual.
Field Value:
0

icRelativeColorimetric

public static final int icRelativeColorimetric
ICC Profile Rendering Intent: RelativeColorimetric.
Field Value:
1

icSaturation

public static final int icSaturation
ICC Profile Rendering Intent: Saturation.
Field Value:
2

icSigAToB0Tag

public static final int icSigAToB0Tag
ICC Profile Tag Signature: 'A2B0'.
Field Value:
1093812784
Usages and Demos :

View More Examples of ICC_Profile.icSigAToB0Tag
   1:       {
   2:       case ICC_Profile.icSigAToB0Tag:
   3:       case ICC_Profile.icSigAToB1Tag:
   4:       case ICC_Profile.icSigAToB2Tag:
   5:         if (profile.getColorSpaceType() == ColorSpace.TYPE_XYZ)

View Full Code Here

icSigAToB1Tag

public static final int icSigAToB1Tag
ICC Profile Tag Signature: 'A2B1'.
Field Value:
1093812785
Usages and Demos :

View More Examples of ICC_Profile.icSigAToB1Tag
   1:       case ICC_Profile.icSigAToB0Tag:
   2:       case ICC_Profile.icSigAToB1Tag:
   3:       case ICC_Profile.icSigAToB2Tag:
   4:         if (profile.getColorSpaceType() == ColorSpace.TYPE_XYZ)
   5:           useMatrix = true;

View Full Code Here

icSigAToB2Tag

public static final int icSigAToB2Tag
ICC Profile Tag Signature: 'A2B2'.
Field Value:
1093812786
Usages and Demos :

View More Examples of ICC_Profile.icSigAToB2Tag
   1:       case ICC_Profile.icSigAToB1Tag:
   2:       case ICC_Profile.icSigAToB2Tag:
   3:         if (profile.getColorSpaceType() == ColorSpace.TYPE_XYZ)
   4:           useMatrix = true;
   5:         inputLab = false;

View Full Code Here

icSigAbstractClass

public static final int icSigAbstractClass
ICC Profile Class Signature: 'abst'.
Field Value:
1633842036
Usages and Demos :

View More Examples of ICC_Profile.icSigAbstractClass
   1:                                           ICC_Profile.CLASS_COLORSPACECONVERSION,
   2:                                           ICC_Profile.icSigAbstractClass,
   3:                                           ICC_Profile.CLASS_ABSTRACT,
   4:                                           ICC_Profile.icSigNamedColorClass,
   5:                                           ICC_Profile.CLASS_NAMEDCOLOR

View Full Code Here

icSigBToA0Tag

public static final int icSigBToA0Tag
ICC Profile Tag Signature: 'B2A0'.
Field Value:
1110589744
Usages and Demos :

View More Examples of ICC_Profile.icSigBToA0Tag
   1:         break;
   2:       case ICC_Profile.icSigBToA0Tag:
   3:       case ICC_Profile.icSigBToA1Tag:
   4:       case ICC_Profile.icSigBToA2Tag:
   5:         if (profile.getPCSType() == ColorSpace.TYPE_XYZ)

View Full Code Here

icSigBToA1Tag

public static final int icSigBToA1Tag
ICC Profile Tag Signature: 'B2A1'.
Field Value:
1110589745
Usages and Demos :

View More Examples of ICC_Profile.icSigBToA1Tag
   1:       case ICC_Profile.icSigBToA0Tag:
   2:       case ICC_Profile.icSigBToA1Tag:
   3:       case ICC_Profile.icSigBToA2Tag:
   4:         if (profile.getPCSType() == ColorSpace.TYPE_XYZ)
   5:           useMatrix = true;

View Full Code Here

icSigBToA2Tag

public static final int icSigBToA2Tag
ICC Profile Tag Signature: 'B2A2'.
Field Value:
1110589746
Usages and Demos :

View More Examples of ICC_Profile.icSigBToA2Tag
   1:       case ICC_Profile.icSigBToA1Tag:
   2:       case ICC_Profile.icSigBToA2Tag:
   3:         if (profile.getPCSType() == ColorSpace.TYPE_XYZ)
   4:           useMatrix = true;
   5:         inputLab = (profile.getPCSType() == ColorSpace.TYPE_Lab);

View Full Code Here

icSigBlueColorantTag

public static final int icSigBlueColorantTag
ICC Profile Tag Signature: 'bXYZ'.
Field Value:
1649957210

icSigBlueMatrixColumnTag

public static final int icSigBlueMatrixColumnTag
ICC Profile Tag Signature: 'bXYZ'.
Field Value:
1649957210

icSigBlueTRCTag

public static final int icSigBlueTRCTag
ICC Profile Tag Signature: 'bTRC'.
Field Value:
1649693251

icSigCalibrationDateTimeTag

public static final int icSigCalibrationDateTimeTag
ICC Profile Tag Signature: 'calt'.
Field Value:
1667329140

icSigCharTargetTag

public static final int icSigCharTargetTag
ICC Profile Tag Signature: 'targ'.
Field Value:
1952543335

icSigChromaticAdaptationTag

public static final int icSigChromaticAdaptationTag
ICC Profile Tag Signature: 'chad'.
Field Value:
1667785060

icSigChromaticityTag

public static final int icSigChromaticityTag
ICC Profile Tag Signature: 'chrm'.
Field Value:
1667789421

icSigCmyData

public static final int icSigCmyData
ICC Profile Color Space Type Signature: 'CMY '.
Field Value:
1129142560
Usages and Demos :

View More Examples of ICC_Profile.icSigCmyData
   1:                                            ColorSpace.TYPE_CMYK,
   2:                                            ICC_Profile.icSigCmyData,
   3:                                            ColorSpace.TYPE_CMY,
   4:                                            ICC_Profile.icSigSpace2CLR,
   5:                                            ColorSpace.TYPE_2CLR,

View Full Code Here

icSigCmykData

public static final int icSigCmykData
ICC Profile Color Space Type Signature: 'CMYK'.
Field Value:
1129142603
Usages and Demos :

View More Examples of ICC_Profile.icSigCmykData
   1:                                            ColorSpace.TYPE_HLS,
   2:                                            ICC_Profile.icSigCmykData,
   3:                                            ColorSpace.TYPE_CMYK,
   4:                                            ICC_Profile.icSigCmyData,
   5:                                            ColorSpace.TYPE_CMY,

View Full Code Here

icSigColorSpaceClass

public static final int icSigColorSpaceClass
ICC Profile Class Signature: 'spac'.
Field Value:
1936744803
Usages and Demos :

View More Examples of ICC_Profile.icSigColorSpaceClass
   1:                                           ICC_Profile.CLASS_DEVICELINK,
   2:                                           ICC_Profile.icSigColorSpaceClass,
   3:                                           ICC_Profile.CLASS_COLORSPACECONVERSION,
   4:                                           ICC_Profile.icSigAbstractClass,
   5:                                           ICC_Profile.CLASS_ABSTRACT,

View Full Code Here

icSigColorantOrderTag

public static final int icSigColorantOrderTag
ICC Profile Tag Signature: 'clro'.
Field Value:
1668051567

icSigColorantTableTag

public static final int icSigColorantTableTag
ICC Profile Tag Signature: 'clrt'.
Field Value:
1668051572

icSigCopyrightTag

public static final int icSigCopyrightTag
ICC Profile Tag Signature: 'cprt'.
Field Value:
1668313716

icSigCrdInfoTag

public static final int icSigCrdInfoTag
ICC Profile Tag Signature: 'crdi'.
Field Value:
1668441193

icSigDeviceMfgDescTag

public static final int icSigDeviceMfgDescTag
ICC Profile Tag Signature: 'dmnd'.
Field Value:
1684893284

icSigDeviceModelDescTag

public static final int icSigDeviceModelDescTag
ICC Profile Tag Signature: 'dmdd'.
Field Value:
1684890724

icSigDeviceSettingsTag

public static final int icSigDeviceSettingsTag
ICC Profile Tag Signature: 'devs'.
Field Value:
1684371059

icSigDisplayClass

public static final int icSigDisplayClass
ICC Profile Class Signature: 'mntr'.
Field Value:
1835955314
Usages and Demos :

View More Examples of ICC_Profile.icSigDisplayClass
   1:                                           ICC_Profile.CLASS_INPUT,
   2:                                           ICC_Profile.icSigDisplayClass,
   3:                                           ICC_Profile.CLASS_DISPLAY,
   4:                                           ICC_Profile.icSigOutputClass,
   5:                                           ICC_Profile.CLASS_OUTPUT,

View Full Code Here

icSigGamutTag

public static final int icSigGamutTag
ICC Profile Tag Signature: 'gamt'.
Field Value:
1734438260

icSigGrayData

public static final int icSigGrayData
ICC Profile Color Space Type Signature: 'GRAY'.
Field Value:
1196573017
Usages and Demos :

View More Examples of ICC_Profile.icSigGrayData
   1:                                            ColorSpace.TYPE_RGB,
   2:                                            ICC_Profile.icSigGrayData,
   3:                                            ColorSpace.TYPE_GRAY,
   4:                                            ICC_Profile.icSigHsvData,
   5:                                            ColorSpace.TYPE_HSV,

View Full Code Here

icSigGrayTRCTag

public static final int icSigGrayTRCTag
ICC Profile Tag Signature: 'kTRC'.
Field Value:
1800688195

icSigGreenColorantTag

public static final int icSigGreenColorantTag
ICC Profile Tag Signature: 'gXYZ'.
Field Value:
1733843290

icSigGreenMatrixColumnTag

public static final int icSigGreenMatrixColumnTag
ICC Profile Tag Signature: 'gXYZ'.
Field Value:
1733843290

icSigGreenTRCTag

public static final int icSigGreenTRCTag
ICC Profile Tag Signature: 'gTRC'.
Field Value:
1733579331

icSigHead

public static final int icSigHead
ICC Profile Tag Signature: 'head' - special.
Field Value:
1751474532

icSigHlsData

public static final int icSigHlsData
ICC Profile Color Space Type Signature: 'HLS'.
Field Value:
1212961568
Usages and Demos :

View More Examples of ICC_Profile.icSigHlsData
   1:                                            ColorSpace.TYPE_HSV,
   2:                                            ICC_Profile.icSigHlsData,
   3:                                            ColorSpace.TYPE_HLS,
   4:                                            ICC_Profile.icSigCmykData,
   5:                                            ColorSpace.TYPE_CMYK,

View Full Code Here

icSigHsvData

public static final int icSigHsvData
ICC Profile Color Space Type Signature: 'HSV'.
Field Value:
1213421088
Usages and Demos :

View More Examples of ICC_Profile.icSigHsvData
   1:                                            ColorSpace.TYPE_GRAY,
   2:                                            ICC_Profile.icSigHsvData,
   3:                                            ColorSpace.TYPE_HSV,
   4:                                            ICC_Profile.icSigHlsData,
   5:                                            ColorSpace.TYPE_HLS,

View Full Code Here

icSigInputClass

public static final int icSigInputClass
ICC Profile Class Signature: 'scnr'.
Field Value:
1935896178
Usages and Demos :

View More Examples of ICC_Profile.icSigInputClass
   1:                                         {
   2:                                           ICC_Profile.icSigInputClass,
   3:                                           ICC_Profile.CLASS_INPUT,
   4:                                           ICC_Profile.icSigDisplayClass,
   5:                                           ICC_Profile.CLASS_DISPLAY,

View Full Code Here

icSigLabData

public static final int icSigLabData
ICC Profile Color Space Type Signature: 'Lab '.
Field Value:
1281450528
Usages and Demos :

View More Examples of ICC_Profile.icSigLabData
   1:                                            ColorSpace.TYPE_XYZ,
   2:                                            ICC_Profile.icSigLabData,
   3:                                            ColorSpace.TYPE_Lab,
   4:         ...
   5:           profileColorSpace = ColorSpace.TYPE_XYZ;
   6:         if (pcsSig == ICC_Profile.icSigLabData)
   7:           profileColorSpace = ColorSpace.TYPE_Lab;
   8:       }
   9:     else

View Full Code Here

icSigLinkClass

public static final int icSigLinkClass
ICC Profile Class Signature: 'link'.
Field Value:
1818848875
Usages and Demos :

View More Examples of ICC_Profile.icSigLinkClass
   1:                                           ICC_Profile.CLASS_OUTPUT,
   2:                                           ICC_Profile.icSigLinkClass,
   3:                                           ICC_Profile.CLASS_DEVICELINK,
   4:                                           ICC_Profile.icSigColorSpaceClass,
   5:                                           ICC_Profile.CLASS_COLORSPACECONVERSION,

View Full Code Here

icSigLuminanceTag

public static final int icSigLuminanceTag
ICC Profile Tag Signature: 'lumi'.
Field Value:
1819635049

icSigLuvData

public static final int icSigLuvData
ICC Profile Color Space Type Signature: 'Luv '.
Field Value:
1282766368
Usages and Demos :

View More Examples of ICC_Profile.icSigLuvData
   1:                                            ColorSpace.TYPE_Lab,
   2:                                            ICC_Profile.icSigLuvData,
   3:                                            ColorSpace.TYPE_Luv,
   4:                                            ICC_Profile.icSigYCbCrData,
   5:                                            ColorSpace.TYPE_YCbCr,

View Full Code Here

icSigMeasurementTag

public static final int icSigMeasurementTag
ICC Profile Tag Signature: 'meas'.
Field Value:
1835360627

icSigMediaBlackPointTag

public static final int icSigMediaBlackPointTag
ICC Profile Tag Signature: 'bkpt'.
Field Value:
1651208308

icSigMediaWhitePointTag

public static final int icSigMediaWhitePointTag
ICC Profile Tag Signature: 'wtpt'.
Field Value:
2004119668

icSigNamedColor2Tag

public static final int icSigNamedColor2Tag
ICC Profile Tag Signature: 'ncl2'.
Field Value:
1852009522

icSigNamedColorClass

public static final int icSigNamedColorClass
ICC Profile Class Signature: 'nmcl'.
Field Value:
1852662636
Usages and Demos :

View More Examples of ICC_Profile.icSigNamedColorClass
   1:                                           ICC_Profile.CLASS_ABSTRACT,
   2:                                           ICC_Profile.icSigNamedColorClass,
   3:                                           ICC_Profile.CLASS_NAMEDCOLOR
   4:                                         };
   5:   private int size;

View Full Code Here

icSigOutputClass

public static final int icSigOutputClass
ICC Profile Class Signature: 'prtr'.
Field Value:
1886549106
Usages and Demos :

View More Examples of ICC_Profile.icSigOutputClass
   1:                                           ICC_Profile.CLASS_DISPLAY,
   2:                                           ICC_Profile.icSigOutputClass,
   3:                                           ICC_Profile.CLASS_OUTPUT,
   4:                                           ICC_Profile.icSigLinkClass,
   5:                                           ICC_Profile.CLASS_DEVICELINK,

View Full Code Here

icSigOutputResponseTag

public static final int icSigOutputResponseTag
ICC Profile Tag Signature: 'resp'.
Field Value:
1919251312

icSigPreview0Tag

public static final int icSigPreview0Tag
ICC Profile Tag Signature: 'pre0'.
Field Value:
1886545200

icSigPreview1Tag

public static final int icSigPreview1Tag
ICC Profile Tag Signature: 'pre1'.
Field Value:
1886545201

icSigPreview2Tag

public static final int icSigPreview2Tag
ICC Profile Tag Signature: 'pre2'.
Field Value:
1886545202

icSigProfileDescriptionTag

public static final int icSigProfileDescriptionTag
ICC Profile Tag Signature: 'desc'.
Field Value:
1684370275

icSigProfileSequenceDescTag

public static final int icSigProfileSequenceDescTag
ICC Profile Tag Signature: 'pseq'.
Field Value:
1886610801

icSigPs2CRD0Tag

public static final int icSigPs2CRD0Tag
ICC Profile Tag Signature: 'psd0'.
Field Value:
1886610480

icSigPs2CRD1Tag

public static final int icSigPs2CRD1Tag
ICC Profile Tag Signature: 'psd1'.
Field Value:
1886610481

icSigPs2CRD2Tag

public static final int icSigPs2CRD2Tag
ICC Profile Tag Signature: 'psd2'.
Field Value:
1886610482

icSigPs2CRD3Tag

public static final int icSigPs2CRD3Tag
ICC Profile Tag Signature: 'psd3'.
Field Value:
1886610483

icSigPs2CSATag

public static final int icSigPs2CSATag
ICC Profile Tag Signature: 'ps2s'.
Field Value:
1886597747

icSigPs2RenderingIntentTag

public static final int icSigPs2RenderingIntentTag
ICC Profile Tag Signature: 'ps2i'.
Field Value:
1886597737

icSigRedColorantTag

public static final int icSigRedColorantTag
ICC Profile Tag Signature: 'rXYZ'.
Field Value:
1918392666

icSigRedMatrixColumnTag

public static final int icSigRedMatrixColumnTag
ICC Profile Tag Signature: 'rXYZ'.
Field Value:
1918392666

icSigRedTRCTag

public static final int icSigRedTRCTag
ICC Profile Tag Signature: 'rTRC'.
Field Value:
1918128707

icSigRgbData

public static final int icSigRgbData
ICC Profile Color Space Type Signature: 'RGB '.
Field Value:
1380401696
Usages and Demos :

View More Examples of ICC_Profile.icSigRgbData
   1:                                            ColorSpace.TYPE_Yxy,
   2:                                            ICC_Profile.icSigRgbData,
   3:                                            ColorSpace.TYPE_RGB,
   4:                                            ICC_Profile.icSigGrayData,
   5:                                            ColorSpace.TYPE_GRAY,

View Full Code Here

icSigScreeningDescTag

public static final int icSigScreeningDescTag
ICC Profile Tag Signature: 'scrd'.
Field Value:
1935897188

icSigScreeningTag

public static final int icSigScreeningTag
ICC Profile Tag Signature: 'scrn'.
Field Value:
1935897198

icSigSpace2CLR

public static final int icSigSpace2CLR
ICC Profile Color Space Type Signature: '2CLR'.
Field Value:
843271250
Usages and Demos :

View More Examples of ICC_Profile.icSigSpace2CLR
   1:                                            ColorSpace.TYPE_CMY,
   2:                                            ICC_Profile.icSigSpace2CLR,
   3:                                            ColorSpace.TYPE_2CLR,
   4:                                            ICC_Profile.icSigSpace3CLR,
   5:                                            ColorSpace.TYPE_3CLR,

View Full Code Here

icSigSpace3CLR

public static final int icSigSpace3CLR
ICC Profile Color Space Type Signature: '3CLR'.
Field Value:
860048466
Usages and Demos :

View More Examples of ICC_Profile.icSigSpace3CLR
   1:                                            ColorSpace.TYPE_2CLR,
   2:                                            ICC_Profile.icSigSpace3CLR,
   3:                                            ColorSpace.TYPE_3CLR,
   4:                                            ICC_Profile.icSigSpace4CLR,
   5:                                            ColorSpace.TYPE_4CLR,

View Full Code Here

icSigSpace4CLR

public static final int icSigSpace4CLR
ICC Profile Color Space Type Signature: '4CLR'.
Field Value:
876825682
Usages and Demos :

View More Examples of ICC_Profile.icSigSpace4CLR
   1:                                            ColorSpace.TYPE_3CLR,
   2:                                            ICC_Profile.icSigSpace4CLR,
   3:                                            ColorSpace.TYPE_4CLR,
   4:                                            ICC_Profile.icSigSpace5CLR,
   5:                                            ColorSpace.TYPE_5CLR,

View Full Code Here

icSigSpace5CLR

public static final int icSigSpace5CLR
ICC Profile Color Space Type Signature: '5CLR'.
Field Value:
893602898
Usages and Demos :

View More Examples of ICC_Profile.icSigSpace5CLR
   1:                                            ColorSpace.TYPE_4CLR,
   2:                                            ICC_Profile.icSigSpace5CLR,
   3:                                            ColorSpace.TYPE_5CLR,
   4:                                            ICC_Profile.icSigSpace6CLR,
   5:                                            ColorSpace.TYPE_6CLR,

View Full Code Here

icSigSpace6CLR

public static final int icSigSpace6CLR
ICC Profile Color Space Type Signature: '6CLR'.
Field Value:
910380114
Usages and Demos :

View More Examples of ICC_Profile.icSigSpace6CLR
   1:                                            ColorSpace.TYPE_5CLR,
   2:                                            ICC_Profile.icSigSpace6CLR,
   3:                                            ColorSpace.TYPE_6CLR,
   4:                                            ICC_Profile.icSigSpace7CLR,
   5:                                            ColorSpace.TYPE_7CLR,

View Full Code Here

icSigSpace7CLR

public static final int icSigSpace7CLR
ICC Profile Color Space Type Signature: '7CLR'.
Field Value:
927157330
Usages and Demos :

View More Examples of ICC_Profile.icSigSpace7CLR
   1:                                            ColorSpace.TYPE_6CLR,
   2:                                            ICC_Profile.icSigSpace7CLR,
   3:                                            ColorSpace.TYPE_7CLR,
   4:                                            ICC_Profile.icSigSpace8CLR,
   5:                                            ColorSpace.TYPE_8CLR,

View Full Code Here

icSigSpace8CLR

public static final int icSigSpace8CLR
ICC Profile Color Space Type Signature: '8CLR'.
Field Value:
943934546
Usages and Demos :

View More Examples of ICC_Profile.icSigSpace8CLR
   1:                                            ColorSpace.TYPE_7CLR,
   2:                                            ICC_Profile.icSigSpace8CLR,
   3:                                            ColorSpace.TYPE_8CLR,
   4:                                            ICC_Profile.icSigSpace9CLR,
   5:                                            ColorSpace.TYPE_9CLR,

View Full Code Here

icSigSpace9CLR

public static final int icSigSpace9CLR
ICC Profile Color Space Type Signature: '9CLR'.
Field Value:
960711762
Usages and Demos :

View More Examples of ICC_Profile.icSigSpace9CLR
   1:                                            ColorSpace.TYPE_8CLR,
   2:                                            ICC_Profile.icSigSpace9CLR,
   3:                                            ColorSpace.TYPE_9CLR,
   4:                                            ICC_Profile.icSigSpaceACLR,
   5:                                            ColorSpace.TYPE_ACLR,

View Full Code Here

icSigSpaceACLR

public static final int icSigSpaceACLR
ICC Profile Color Space Type Signature: 'ACLR'.
Field Value:
1094929490
Usages and Demos :

View More Examples of ICC_Profile.icSigSpaceACLR
   1:                                            ColorSpace.TYPE_9CLR,
   2:                                            ICC_Profile.icSigSpaceACLR,
   3:                                            ColorSpace.TYPE_ACLR,
   4:                                            ICC_Profile.icSigSpaceBCLR,
   5:                                            ColorSpace.TYPE_BCLR,

View Full Code Here

icSigSpaceBCLR

public static final int icSigSpaceBCLR
ICC Profile Color Space Type Signature: 'BCLR'.
Field Value:
1111706706
Usages and Demos :

View More Examples of ICC_Profile.icSigSpaceBCLR
   1:                                            ColorSpace.TYPE_ACLR,
   2:                                            ICC_Profile.icSigSpaceBCLR,
   3:                                            ColorSpace.TYPE_BCLR,
   4:                                            ICC_Profile.icSigSpaceCCLR,
   5:                                            ColorSpace.TYPE_CCLR,

View Full Code Here

icSigSpaceCCLR

public static final int icSigSpaceCCLR
ICC Profile Color Space Type Signature: 'CCLR'.
Field Value:
1128483922
Usages and Demos :

View More Examples of ICC_Profile.icSigSpaceCCLR
   1:                                            ColorSpace.TYPE_BCLR,
   2:                                            ICC_Profile.icSigSpaceCCLR,
   3:                                            ColorSpace.TYPE_CCLR,
   4:                                            ICC_Profile.icSigSpaceDCLR,
   5:                                            ColorSpace.TYPE_DCLR,

View Full Code Here

icSigSpaceDCLR

public static final int icSigSpaceDCLR
ICC Profile Color Space Type Signature: 'DCLR'.
Field Value:
1145261138
Usages and Demos :

View More Examples of ICC_Profile.icSigSpaceDCLR
   1:                                            ColorSpace.TYPE_CCLR,
   2:                                            ICC_Profile.icSigSpaceDCLR,
   3:                                            ColorSpace.TYPE_DCLR,
   4:                                            ICC_Profile.icSigSpaceECLR,
   5:                                            ColorSpace.TYPE_ECLR,

View Full Code Here

icSigSpaceECLR

public static final int icSigSpaceECLR
ICC Profile Color Space Type Signature: 'ECLR'.
Field Value:
1162038354
Usages and Demos :

View More Examples of ICC_Profile.icSigSpaceECLR
   1:                                            ColorSpace.TYPE_DCLR,
   2:                                            ICC_Profile.icSigSpaceECLR,
   3:                                            ColorSpace.TYPE_ECLR,
   4:                                            ICC_Profile.icSigSpaceFCLR,
   5:                                            ColorSpace.TYPE_FCLR

View Full Code Here

icSigSpaceFCLR

public static final int icSigSpaceFCLR
ICC Profile Color Space Type Signature: 'FCLR'.
Field Value:
1178815570
Usages and Demos :

View More Examples of ICC_Profile.icSigSpaceFCLR
   1:                                            ColorSpace.TYPE_ECLR,
   2:                                            ICC_Profile.icSigSpaceFCLR,
   3:                                            ColorSpace.TYPE_FCLR
   4:                                          };

View Full Code Here

icSigTechnologyTag

public static final int icSigTechnologyTag
ICC Profile Tag Signature: 'tech'.
Field Value:
1952801640

icSigUcrBgTag

public static final int icSigUcrBgTag
ICC Profile Tag Signature: 'bfd '.
Field Value:
1650877472

icSigViewingCondDescTag

public static final int icSigViewingCondDescTag
ICC Profile Tag Signature: 'vued'.
Field Value:
1987405156

icSigViewingConditionsTag

public static final int icSigViewingConditionsTag
ICC Profile Tag Signature: 'view'.
Field Value:
1986618743

icSigXYZData

public static final int icSigXYZData
ICC Profile Color Space Type Signature: 'XYZ '.
Field Value:
1482250784
Usages and Demos :

View More Examples of ICC_Profile.icSigXYZData
   1:                                          {
   2:                                            ICC_Profile.icSigXYZData,
   3:                                            ColorSpace.TYPE_XYZ,
   4:         ...
   5:       {
   6:         if (pcsSig == ICC_Profile.icSigXYZData)
   7:           profileColorSpace = ColorSpace.TYPE_XYZ;
   8:         if (pcsSig == ICC_Profile.icSigLabData)
   9:           profileColorSpace = ColorSpace.TYPE_Lab;

View Full Code Here

icSigYCbCrData

public static final int icSigYCbCrData
ICC Profile Color Space Type Signature: 'YCbr'.
Field Value:
1497588338
Usages and Demos :

View More Examples of ICC_Profile.icSigYCbCrData
   1:                                            ColorSpace.TYPE_Luv,
   2:                                            ICC_Profile.icSigYCbCrData,
   3:                                            ColorSpace.TYPE_YCbCr,
   4:                                            ICC_Profile.icSigYxyData,
   5:                                            ColorSpace.TYPE_Yxy,

View Full Code Here

icSigYxyData

public static final int icSigYxyData
ICC Profile Color Space Type Signature: 'Yxy '.
Field Value:
1501067552
Usages and Demos :

View More Examples of ICC_Profile.icSigYxyData
   1:                                            ColorSpace.TYPE_YCbCr,
   2:                                            ICC_Profile.icSigYxyData,
   3:                                            ColorSpace.TYPE_Yxy,
   4:                                            ICC_Profile.icSigRgbData,
   5:                                            ColorSpace.TYPE_RGB,

View Full Code Here

icTagReserved

public static final int icTagReserved
ICC Profile Constant: reserved.
Field Value:
4

icTagType

public static final int icTagType
ICC Profile Constant: tag type signaturE.
Field Value:
0

icXYZNumberX

public static final int icXYZNumberX
ICC Profile Constant: XYZNumber X.
Field Value:
8

Method Details

finalize

protected void finalize()
Frees the resources associated with an ICC_Profile object.
Overrides:
finalize in interface Object

getColorSpaceType

public int getColorSpaceType()
Returns the color space type. Returns one of the color space type constants defined by the ColorSpace class. This is the "input" color space of the profile. The type defines the number of components of the color space and the interpretation, e.g. TYPE_RGB identifies a color space with three components - red, green, and blue. It does not define the particular color characteristics of the space, e.g. the chromaticities of the primaries.
Returns:
One of the color space type constants defined in the ColorSpace class.

getData

public byte[] getData()
Returns a byte array corresponding to the data of this ICC_Profile.
Returns:
A byte array that contains the profile data.

getData

public byte[] getData(int tagSignature)
Returns a particular tagged data element from the profile as a byte array. Elements are identified by signatures as defined in the ICC specification. The signature icSigHead can be used to get the header. This method is useful for advanced applets or applications which need to access profile data directly.
Parameters:
tagSignature - The ICC tag signature for the data element you want to get.
Returns:
A byte array that contains the tagged data element. Returns null if the specified tag doesn't exist.

getInstance

public static ICC_Profile getInstance(byte[] data)
Constructs an ICC_Profile object corresponding to the data in a byte array. Throws an IllegalArgumentException if the data does not correspond to a valid ICC Profile.
Parameters:
data - the specified ICC Profile data
Returns:
an ICC_Profile object corresponding to the data in the specified data array.
Usages and Demos :

View More Examples of getInstance(byte[] data)
   1: 
   2: import java.awt.color.ICC_Profile;
   3: import java.io.IOException;
   4:         ...
   5:         String href = XLinkSupport.getXLinkHref(profile);
   6:         ICC_Profile p = null;
   7:         if (href != null) {
   8:         ...
   9: 
  10:                 p = ICC_Profile.getInstance(purl.openStream());
  11:             } catch(IOException e) {

View Full Code Here
   1: package com.lowagie.text.pdf.codec;
   2: import java.awt.color.ICC_Profile;
   3: import java.io.ByteArrayOutputStream;
   4:         ...
   5:                     TIFFField fd = dir.getField(TIFFConstants.TIFFTAG_ICCPROFILE);
   6:                     ICC_Profile icc_prof = ICC_Profile.getInstance(fd.getAsBytes());
   7:                     if (icc_prof.getNumComponents() == 1)
   8:         ...
   9:                         TIFFField fd = dir.getField(TIFFConstants.TIFFTAG_ICCPROFILE);
  10:                         ICC_Profile icc_prof = ICC_Profile.getInstance(fd.getAsBytes());
  11:                         if (samplePerPixel == icc_prof.getNumComponents())

View Full Code Here

getInstance

public static ICC_Profile getInstance(int cspace)
Constructs an ICC_Profile corresponding to one of the specific color spaces defined by the ColorSpace class (for example CS_sRGB). Throws an IllegalArgumentException if cspace is not one of the defined color spaces.
Parameters:
cspace - the type of color space to create a profile for. The specified type is one of the color space constants defined in the ColorSpace class.
Returns:
an ICC_Profile object corresponding to the specified ColorSpace type.
Throws:
IllegalArgumentException - If cspace is not one of the predefined color space types.
Usages and Demos :

View More Examples of getInstance(int cspace)
   1: 
   2: import java.awt.color.ICC_Profile;
   3: import java.io.IOException;
   4:         ...
   5:         String href = XLinkSupport.getXLinkHref(profile);
   6:         ICC_Profile p = null;
   7:         if (href != null) {
   8:         ...
   9: 
  10:                 p = ICC_Profile.getInstance(purl.openStream());
  11:             } catch(IOException e) {

View Full Code Here
   1: package com.lowagie.text.pdf.codec;
   2: import java.awt.color.ICC_Profile;
   3: import java.io.ByteArrayOutputStream;
   4:         ...
   5:                     TIFFField fd = dir.getField(TIFFConstants.TIFFTAG_ICCPROFILE);
   6:                     ICC_Profile icc_prof = ICC_Profile.getInstance(fd.getAsBytes());
   7:                     if (icc_prof.getNumComponents() == 1)
   8:         ...
   9:                         TIFFField fd = dir.getField(TIFFConstants.TIFFTAG_ICCPROFILE);
  10:                         ICC_Profile icc_prof = ICC_Profile.getInstance(fd.getAsBytes());
  11:                         if (samplePerPixel == icc_prof.getNumComponents())

View Full Code Here

getInstance

public static ICC_Profile getInstance(InputStream s)
            throws IOException
Constructs an ICC_Profile corresponding to the data in an InputStream. This method throws an IllegalArgumentException if the stream does not contain valid ICC Profile data. It throws an IOException if an I/O error occurs while reading the stream.
Parameters:
s - The input stream from which to read the profile data.
Returns:
an ICC_Profile object corresponding to the data in the specified InputStream.
Throws:
IOException - If an I/O error occurs while reading the stream.
IllegalArgumentException - If the stream does not contain valid ICC Profile data.
Usages and Demos :

View More Examples of getInstance(InputStream s)
   1: 
   2: import java.awt.color.ICC_Profile;
   3: import java.io.IOException;
   4:         ...
   5:         String href = XLinkSupport.getXLinkHref(profile);
   6:         ICC_Profile p = null;
   7:         if (href != null) {
   8:         ...
   9: 
  10:                 p = ICC_Profile.getInstance(purl.openStream());
  11:             } catch(IOException e) {

View Full Code Here
   1: package com.lowagie.text.pdf.codec;
   2: import java.awt.color.ICC_Profile;
   3: import java.io.ByteArrayOutputStream;
   4:         ...
   5:                     TIFFField fd = dir.getField(TIFFConstants.TIFFTAG_ICCPROFILE);
   6:                     ICC_Profile icc_prof = ICC_Profile.getInstance(fd.getAsBytes());
   7:                     if (icc_prof.getNumComponents() == 1)
   8:         ...
   9:                         TIFFField fd = dir.getField(TIFFConstants.TIFFTAG_ICCPROFILE);
  10:                         ICC_Profile icc_prof = ICC_Profile.getInstance(fd.getAsBytes());
  11:                         if (samplePerPixel == icc_prof.getNumComponents())

View Full Code Here

getInstance

public static ICC_Profile getInstance(String fileName)
            throws IOException
Constructs an ICC_Profile corresponding to the data in a file. fileName may be an absolute or a relative file specification. Relative file names are looked for in several places: first, relative to any directories specified by the java.iccprofile.path property; second, relative to any directories specified by the java.class.path property; finally, in a directory used to store profiles always available, such as the profile for sRGB. Built-in profiles use .pf as the file name extension for profiles, e.g. sRGB.pf. This method throws an IOException if the specified file cannot be opened or if an I/O error occurs while reading the file. It throws an IllegalArgumentException if the file does not contain valid ICC Profile data.
Parameters:
fileName - The file that contains the data for the profile.
Returns:
an ICC_Profile object corresponding to the data in the specified file.
Throws:
IOException - If the specified file cannot be opened or an I/O error occurs while reading the file.
IllegalArgumentException - If the file does not contain valid ICC Profile data.
SecurityException - If a security manager is installed and it does not permit read access to the given file.
Usages and Demos :

View More Examples of getInstance(String fileName)
   1: 
   2: import java.awt.color.ICC_Profile;
   3: import java.io.IOException;
   4:         ...
   5:         String href = XLinkSupport.getXLinkHref(profile);
   6:         ICC_Profile p = null;
   7:         if (href != null) {
   8:         ...
   9: 
  10:                 p = ICC_Profile.getInstance(purl.openStream());
  11:             } catch(IOException e) {

View Full Code Here
   1: package com.lowagie.text.pdf.codec;
   2: import java.awt.color.ICC_Profile;
   3: import java.io.ByteArrayOutputStream;
   4:         ...
   5:                     TIFFField fd = dir.getField(TIFFConstants.TIFFTAG_ICCPROFILE);
   6:                     ICC_Profile icc_prof = ICC_Profile.getInstance(fd.getAsBytes());
   7:                     if (icc_prof.getNumComponents() == 1)
   8:         ...
   9:                         TIFFField fd = dir.getField(TIFFConstants.TIFFTAG_ICCPROFILE);
  10:                         ICC_Profile icc_prof = ICC_Profile.getInstance(fd.getAsBytes());
  11:                         if (samplePerPixel == icc_prof.getNumComponents())

View Full Code Here

getMajorVersion

public int getMajorVersion()
Returns profile major version.
Returns:
The major version of the profile.

getMinorVersion

public int getMinorVersion()
Returns profile minor version.
Returns:
The minor version of the profile.

getNumComponents

public int getNumComponents()
Returns the number of color components in the "input" color space of this profile. For example if the color space type of this profile is TYPE_RGB, then this method will return 3.
Returns:
The number of color components in the profile's input color space.
Throws:
ProfileDataException - if color space is in the profile is invalid
Usages and Demos :

View More Examples of getNumComponents()
   1: import jp.ujihara.java.awt.color.ColorSpace;
   2: import jp.ujihara.java.awt.color.ICC_Profile;
   3: 
   4:         ...
   5: 
   6:   public ClutProfileConverter(ICC_Profile profile)
   7:   {
   8:         ...
   9:     nChannels = profile.getNumComponents();
  10: 
  11:         ...
  12:       {
  13:         toPCS = new ColorLookUpTable(profile, ICC_Profile.icSigAToB0Tag);

View Full Code Here

getPCSType

public int getPCSType()
Returns the color space type of the Profile Connection Space (PCS). Returns one of the color space type constants defined by the ColorSpace class. This is the "output" color space of the profile. For an input, display, or output profile useful for tagging colors or images, this will be either TYPE_XYZ or TYPE_Lab and should be interpreted as the corresponding specific color space defined in the ICC specification. For a device link profile, this could be any of the color space type constants.
Returns:
One of the color space type constants defined in the ColorSpace class.
Usages and Demos :

View More Examples of getPCSType()
   1: import jp.ujihara.java.awt.color.ColorSpace;
   2: import jp.ujihara.java.awt.color.ICC_Profile;
   3: import jp.ujihara.java.nio.ByteBuffer;
   4:         ...
   5: 
   6:   public ColorLookUpTable(ICC_Profile profile, int tag)
   7:   {
   8:         ...
   9:       {
  10:       case ICC_Profile.icSigAToB0Tag:
  11:       case ICC_Profile.icSigAToB1Tag:
  12:         ...
  13:         inputLab = false;
  14:         outputLab = (profile.getPCSType() == ColorSpace.TYPE_Lab);

View Full Code Here

getProfileClass

public int getProfileClass()
Returns the profile class.
Returns:
One of the predefined profile class constants.

readResolve

protected Object readResolve()
            throws ObjectStreamException
Resolves instances being deserialized into instances registered with CMM.
Returns:
ICC_Profile object for profile registered with CMM.
Throws:
ObjectStreamException - never thrown, but mandated by the serialization spec.

setData

public void setData(int tagSignature,
                    byte[] tagData)
Sets a particular tagged data element in the profile from a byte array. This method is useful for advanced applets or applications which need to access profile data directly.
Parameters:
tagSignature - The ICC tag signature for the data element you want to set.
tagData - the data to set for the specified tag signature
See Also:
getData

write

public void write(OutputStream s)
            throws IOException
Write this ICC_Profile to an OutputStream.
Parameters:
s - The stream to write the profile data to.
Throws:
IOException - If an I/O error occurs while writing to the stream.

write

public void write(String fileName)
            throws IOException
Write this ICC_Profile to a file.
Parameters:
fileName - The file to write the profile data to.
Throws:
IOException - If the file cannot be opened for writing or an I/O error occurs while writing to the file.