API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt.color. ICC_Profile View Source
Author(s)
Since
Version
10 Feb 1997
Serial
Hierarchy
 Object
      ICC_Profile
Implements
 Serializable
Subclasses
Description
public class ICC_Profile
  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).
See also:    ICC_ColorSpace
Constructors
pack-private ICC_Profile (long ID)
Constructs an ICC_Profile object with a given ID.
pack-private ICC_Profile (sun.awt.color.ProfileDeferralInfo pdi)
  Constructs an ICC_Profile object whose loading will be deferred.
Methods
Hide/Show inherited methods
pack-private void activateDeferredProfile ()
protected void finalize ()
Frees the resources associated with an ICC_Profile object.
public int getColorSpaceType ()
  Returns the color space type.
pack-privatestatic int getColorSpaceType (long profileID)
public byte getData ()
  Returns a byte array corresponding to the data of this ICC_Profile.
public byte getData (int tagSignature)
  Returns a particular tagged data element from the profile as a byte array.
pack-privatestatic byte getData (long profileID, int tagSignature)
pack-privatestatic ICC_Profile getDeferredInstance (sun.awt.color.ProfileDeferralInfo pdi) throws IOException
  Constructs an ICC_Profile for which the actual loading of the profile data from a file and the initialization of the CMM should be deferred as long as possible.
pack-private float getGamma (int theTagSignature)
  Returns a gamma value representing a tone reproduction curve (TRC).
publicstatic ICC_Profile getInstance (byte[] data)
  Constructs an ICC_Profile object corresponding to the data in a byte array.
publicstatic ICC_Profile getInstance (InputStream s) throws IOException
  Constructs an ICC_Profile corresponding to the data in an InputStream.
publicstatic 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).
publicstatic ICC_Profile getInstance (String fileName) throws IOException
  Constructs an ICC_Profile corresponding to the data in a file.
public int getMajorVersion ()
  Returns profile major version.
pack-private float getMediaWhitePoint ()
Returns a float array of length 3 containing the X, Y, and Z components of the mediaWhitePointTag in the ICC profile.
public int getMinorVersion ()
  Returns profile minor version.
public int getNumComponents ()
  Returns the number of color components in the "input" color space of this profile.
public int getPCSType ()
  Returns the color space type of the Profile Connection Space (PCS).
pack-privatestatic int getPCSType (long profileID)
public int getProfileClass ()
  Returns the profile class.
pack-privatestatic byte getProfileDataFromStream (InputStream s) throws IOException
pack-private int getRenderingIntent ()
  Returns the rendering intent of the profile.
pack-private short getTRC (int theTagSignature)
  Returns the TRC as an array of shorts.
pack-private float getXYZTag (int theTagSignature)
Returns a float array of length 3 containing the X, Y, and Z components encoded in an XYZType tag.
pack-privatestatic int iccCStoJCS (int theColorSpaceSig)
pack-privatestatic int intFromBigEndian (byte[] array, int index)
pack-privatestatic void intToBigEndian (int value, byte[] array, int index)
protected Object readResolve () throws ObjectStreamException
  Resolves instances being deserialized into instances registered with CMM.
public void setData (int tagSignature, byte[] tagData)
  Sets a particular tagged data element in the profile from a byte array.
pack-private void setRenderingIntent (int renderingIntent)
  Sets the rendering intent of the profile.
pack-privatestatic short shortFromBigEndian (byte[] array, int index)
pack-privatestatic void shortToBigEndian (short value, byte[] array, int index)
public void write (OutputStream s) throws IOException
  Write this ICC_Profile to an OutputStream.
public void write (String fileName) throws IOException
  Write this ICC_Profile to a file.
Fields
Hide/Show inherited fields
publicfinalstatic int CLASS_ABSTRACT = "5"
Profile class is abstract.
publicfinalstatic int CLASS_COLORSPACECONVERSION = "4"
Profile class is color space conversion.
publicfinalstatic int CLASS_DEVICELINK = "3"
Profile class is device link.
publicfinalstatic int CLASS_DISPLAY = "1"
Profile class is display.
publicfinalstatic int CLASS_INPUT = "0"
Profile class is input.
publicfinalstatic int CLASS_NAMEDCOLOR = "6"
Profile class is named color.
publicfinalstatic int CLASS_OUTPUT = "2"
Profile class is output.
publicfinalstatic int icAbsoluteColorimetric = "3"
ICC Profile Rendering Intent: AbsoluteColorimetric.
publicfinalstatic int icCurveCount = "8"
ICC Profile Constant: curveType count.
publicfinalstatic int icCurveData = "12"
ICC Profile Constant: curveType data.
publicfinalstatic int icHdrAttributes = "56"
ICC Profile Header Location: device attributes.
publicfinalstatic int icHdrCmmId = "4"
ICC Profile Header Location: CMM for this profile.
publicfinalstatic int icHdrColorSpace = "16"
ICC Profile Header Location: color space of data.
publicfinalstatic int icHdrCreator = "80"
ICC Profile Header Location: profile creator.
publicfinalstatic int icHdrDate = "24"
ICC Profile Header Location: date profile was created.
publicfinalstatic int icHdrDeviceClass = "12"
ICC Profile Header Location: type of profile.
publicfinalstatic int icHdrFlags = "44"
ICC Profile Header Location: various bit settings.
publicfinalstatic int icHdrIlluminant = "68"
ICC Profile Header Location: profile illuminant.
publicfinalstatic int icHdrMagic = "36"
ICC Profile Header Location: icMagicNumber.
publicfinalstatic int icHdrManufacturer = "48"
ICC Profile Header Location: device manufacturer.
publicfinalstatic int icHdrModel = "52"
ICC Profile Header Location: device model number.
publicfinalstatic int icHdrPcs = "20"
ICC Profile Header Location: PCS - XYZ or Lab only.
publicfinalstatic int icHdrPlatform = "40"
ICC Profile Header Location: primary platform.
publicfinalstatic int icHdrProfileID = "84"
  ICC Profile Header Location: profile's ID.
publicfinalstatic int icHdrRenderingIntent = "64"
ICC Profile Header Location: rendering intent.
publicfinalstatic int icHdrSize = "0"
ICC Profile Header Location: profile size in bytes.
publicfinalstatic int icHdrVersion = "8"
ICC Profile Header Location: format version number.
publicfinalstatic int icICCAbsoluteColorimetric = "3"
  ICC Profile Rendering Intent: ICC-AbsoluteColorimetric.
publicfinalstatic int icMediaRelativeColorimetric = "1"
  ICC Profile Rendering Intent: Media-RelativeColorimetric.
publicfinalstatic int icPerceptual = "0"
ICC Profile Rendering Intent: Perceptual.
publicfinalstatic int icRelativeColorimetric = "1"
ICC Profile Rendering Intent: RelativeColorimetric.
publicfinalstatic int icSaturation = "2"
ICC Profile Rendering Intent: Saturation.
publicfinalstatic int icSigAbstractClass = "1633842036"
ICC Profile Class Signature: 'abst'.
publicfinalstatic int icSigAToB0Tag = "1093812784"
ICC Profile Tag Signature: 'A2B0'.
publicfinalstatic int icSigAToB1Tag = "1093812785"
ICC Profile Tag Signature: 'A2B1'.
publicfinalstatic int icSigAToB2Tag = "1093812786"
ICC Profile Tag Signature: 'A2B2'.
publicfinalstatic int icSigBlueColorantTag = "1649957210"
ICC Profile Tag Signature: 'bXYZ'.
publicfinalstatic int icSigBlueMatrixColumnTag = "1649957210"
  ICC Profile Tag Signature: 'bXYZ'.
publicfinalstatic int icSigBlueTRCTag = "1649693251"
ICC Profile Tag Signature: 'bTRC'.
publicfinalstatic int icSigBToA0Tag = "1110589744"
ICC Profile Tag Signature: 'B2A0'.
publicfinalstatic int icSigBToA1Tag = "1110589745"
ICC Profile Tag Signature: 'B2A1'.
publicfinalstatic int icSigBToA2Tag = "1110589746"
ICC Profile Tag Signature: 'B2A2'.
publicfinalstatic int icSigCalibrationDateTimeTag = "1667329140"
ICC Profile Tag Signature: 'calt'.
publicfinalstatic int icSigCharTargetTag = "1952543335"
ICC Profile Tag Signature: 'targ'.
publicfinalstatic int icSigChromaticAdaptationTag = "1667785060"
  ICC Profile Tag Signature: 'chad'.
publicfinalstatic int icSigChromaticityTag = "1667789421"
ICC Profile Tag Signature: 'chrm'.
publicfinalstatic int icSigCmyData = "1129142560"
ICC Profile Color Space Type Signature: 'CMY '.
publicfinalstatic int icSigCmykData = "1129142603"
ICC Profile Color Space Type Signature: 'CMYK'.
publicfinalstatic int icSigColorantOrderTag = "1668051567"
  ICC Profile Tag Signature: 'clro'.
publicfinalstatic int icSigColorantTableTag = "1668051572"
  ICC Profile Tag Signature: 'clrt'.
publicfinalstatic int icSigColorSpaceClass = "1936744803"
ICC Profile Class Signature: 'spac'.
publicfinalstatic int icSigCopyrightTag = "1668313716"
ICC Profile Tag Signature: 'cprt'.
publicfinalstatic int icSigCrdInfoTag = "1668441193"
ICC Profile Tag Signature: 'crdi'.
publicfinalstatic int icSigDeviceMfgDescTag = "1684893284"
ICC Profile Tag Signature: 'dmnd'.
publicfinalstatic int icSigDeviceModelDescTag = "1684890724"
ICC Profile Tag Signature: 'dmdd'.
publicfinalstatic int icSigDeviceSettingsTag = "1684371059"
ICC Profile Tag Signature: 'devs'.
publicfinalstatic int icSigDisplayClass = "1835955314"
ICC Profile Class Signature: 'mntr'.
publicfinalstatic int icSigGamutTag = "1734438260"
ICC Profile Tag Signature: 'gamt'.
publicfinalstatic int icSigGrayData = "1196573017"
ICC Profile Color Space Type Signature: 'GRAY'.
publicfinalstatic int icSigGrayTRCTag = "1800688195"
ICC Profile Tag Signature: 'kTRC'.
publicfinalstatic int icSigGreenColorantTag = "1733843290"
ICC Profile Tag Signature: 'gXYZ'.
publicfinalstatic int icSigGreenMatrixColumnTag = "1733843290"
  ICC Profile Tag Signature: 'gXYZ'.
publicfinalstatic int icSigGreenTRCTag = "1733579331"
ICC Profile Tag Signature: 'gTRC'.
publicfinalstatic int icSigHead = "1751474532"
ICC Profile Tag Signature: 'head' - special.
publicfinalstatic int icSigHlsData = "1212961568"
ICC Profile Color Space Type Signature: 'HLS'.
publicfinalstatic int icSigHsvData = "1213421088"
ICC Profile Color Space Type Signature: 'HSV'.
publicfinalstatic int icSigInputClass = "1935896178"
ICC Profile Class Signature: 'scnr'.
publicfinalstatic int icSigLabData = "1281450528"
ICC Profile Color Space Type Signature: 'Lab '.
publicfinalstatic int icSigLinkClass = "1818848875"
ICC Profile Class Signature: 'link'.
publicfinalstatic int icSigLuminanceTag = "1819635049"
ICC Profile Tag Signature: 'lumi'.
publicfinalstatic int icSigLuvData = "1282766368"
ICC Profile Color Space Type Signature: 'Luv '.
publicfinalstatic int icSigMeasurementTag = "1835360627"
ICC Profile Tag Signature: 'meas'.
publicfinalstatic int icSigMediaBlackPointTag = "1651208308"
ICC Profile Tag Signature: 'bkpt'.
publicfinalstatic int icSigMediaWhitePointTag = "2004119668"
ICC Profile Tag Signature: 'wtpt'.
publicfinalstatic int icSigNamedColor2Tag = "1852009522"
ICC Profile Tag Signature: 'ncl2'.
publicfinalstatic int icSigNamedColorClass = "1852662636"
ICC Profile Class Signature: 'nmcl'.
publicfinalstatic int icSigOutputClass = "1886549106"
ICC Profile Class Signature: 'prtr'.
publicfinalstatic int icSigOutputResponseTag = "1919251312"
ICC Profile Tag Signature: 'resp'.
publicfinalstatic int icSigPreview0Tag = "1886545200"
ICC Profile Tag Signature: 'pre0'.
publicfinalstatic int icSigPreview1Tag = "1886545201"
ICC Profile Tag Signature: 'pre1'.
publicfinalstatic int icSigPreview2Tag = "1886545202"
ICC Profile Tag Signature: 'pre2'.
publicfinalstatic int icSigProfileDescriptionTag = "1684370275"
ICC Profile Tag Signature: 'desc'.
publicfinalstatic int icSigProfileSequenceDescTag = "1886610801"
ICC Profile Tag Signature: 'pseq'.
publicfinalstatic int icSigPs2CRD0Tag = "1886610480"
ICC Profile Tag Signature: 'psd0'.
publicfinalstatic int icSigPs2CRD1Tag = "1886610481"
ICC Profile Tag Signature: 'psd1'.
publicfinalstatic int icSigPs2CRD2Tag = "1886610482"
ICC Profile Tag Signature: 'psd2'.
publicfinalstatic int icSigPs2CRD3Tag = "1886610483"
ICC Profile Tag Signature: 'psd3'.
publicfinalstatic int icSigPs2CSATag = "1886597747"
ICC Profile Tag Signature: 'ps2s'.
publicfinalstatic int icSigPs2RenderingIntentTag = "1886597737"
ICC Profile Tag Signature: 'ps2i'.
publicfinalstatic int icSigRedColorantTag = "1918392666"
ICC Profile Tag Signature: 'rXYZ'.
publicfinalstatic int icSigRedMatrixColumnTag = "1918392666"
  ICC Profile Tag Signature: 'rXYZ'.
publicfinalstatic int icSigRedTRCTag = "1918128707"
ICC Profile Tag Signature: 'rTRC'.
publicfinalstatic int icSigRgbData = "1380401696"
ICC Profile Color Space Type Signature: 'RGB '.
publicfinalstatic int icSigScreeningDescTag = "1935897188"
ICC Profile Tag Signature: 'scrd'.
publicfinalstatic int icSigScreeningTag = "1935897198"
ICC Profile Tag Signature: 'scrn'.
publicfinalstatic int icSigSpace2CLR = "843271250"
ICC Profile Color Space Type Signature: '2CLR'.
publicfinalstatic int icSigSpace3CLR = "860048466"
ICC Profile Color Space Type Signature: '3CLR'.
publicfinalstatic int icSigSpace4CLR = "876825682"
ICC Profile Color Space Type Signature: '4CLR'.
publicfinalstatic int icSigSpace5CLR = "893602898"
ICC Profile Color Space Type Signature: '5CLR'.
publicfinalstatic int icSigSpace6CLR = "910380114"
ICC Profile Color Space Type Signature: '6CLR'.
publicfinalstatic int icSigSpace7CLR = "927157330"
ICC Profile Color Space Type Signature: '7CLR'.
publicfinalstatic int icSigSpace8CLR = "943934546"
ICC Profile Color Space Type Signature: '8CLR'.
publicfinalstatic int icSigSpace9CLR = "960711762"
ICC Profile Color Space Type Signature: '9CLR'.
publicfinalstatic int icSigSpaceACLR = "1094929490"
ICC Profile Color Space Type Signature: 'ACLR'.
publicfinalstatic int icSigSpaceBCLR = "1111706706"
ICC Profile Color Space Type Signature: 'BCLR'.
publicfinalstatic int icSigSpaceCCLR = "1128483922"
ICC Profile Color Space Type Signature: 'CCLR'.
publicfinalstatic int icSigSpaceDCLR = "1145261138"
ICC Profile Color Space Type Signature: 'DCLR'.
publicfinalstatic int icSigSpaceECLR = "1162038354"
ICC Profile Color Space Type Signature: 'ECLR'.
publicfinalstatic int icSigSpaceFCLR = "1178815570"
ICC Profile Color Space Type Signature: 'FCLR'.
publicfinalstatic int icSigTechnologyTag = "1952801640"
ICC Profile Tag Signature: 'tech'.
publicfinalstatic int icSigUcrBgTag = "1650877472"
ICC Profile Tag Signature: 'bfd '.
publicfinalstatic int icSigViewingCondDescTag = "1987405156"
ICC Profile Tag Signature: 'vued'.
publicfinalstatic int icSigViewingConditionsTag = "1986618743"
ICC Profile Tag Signature: 'view'.
publicfinalstatic int icSigXYZData = "1482250784"
ICC Profile Color Space Type Signature: 'XYZ '.
publicfinalstatic int icSigYCbCrData = "1497588338"
ICC Profile Color Space Type Signature: 'YCbr'.
publicfinalstatic int icSigYxyData = "1501067552"
ICC Profile Color Space Type Signature: 'Yxy '.
publicfinalstatic int icTagReserved = "4"
ICC Profile Constant: reserved.
publicfinalstatic int icTagType = "0"
ICC Profile Constant: tag type signaturE.
publicfinalstatic int icXYZNumberX = "8"
ICC Profile Constant: XYZNumber X.
pack-privatetransient long ID
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar