Package pixy.meta.icc
Class ICCProfile
java.lang.Object
pixy.meta.Metadata
pixy.meta.icc.ICCProfile
- All Implemented Interfaces:
java.lang.Iterable<MetadataEntry>
,MetadataReader
,Reader
public class ICCProfile extends Metadata
International Color Consortium Profile (ICC Profile)
- Version:
- 1.0 07/02/2013
- Author:
- Wen Yu, yuwen_66@yahoo.com
-
Field Summary
Fields Modifier and Type Field Description static int
TAG_TABLE_OFFSET
-
Constructor Summary
Constructors Constructor Description ICCProfile(byte[] profile)
ICCProfile(java.io.InputStream is)
-
Method Summary
Modifier and Type Method Description boolean
canBeUsedIndependently()
java.lang.String
getBytesReserved()
java.lang.String
getColorSpace()
java.lang.String
getDateTimeCreated()
java.lang.String
getDeviceAttributes()
java.lang.String
getDeviceManufacturer()
java.lang.String
getDeviceModel()
java.lang.String
getPCS()
float[]
getPCSXYZ()
java.lang.String
getPreferredCMMType()
java.lang.String
getPrimaryPlatformSignature()
java.lang.String
getProfileClass()
java.lang.String
getProfileClassDescription()
java.lang.String
getProfileCreator()
java.lang.String
getProfileFileSignature()
java.lang.String
getProfileFlags()
java.lang.String
getProfileID()
long
getProfileSize()
java.lang.String
getProfileVersionNumber()
int
getRenderingIntent()
java.lang.String
getRenderingIntentDescription()
ProfileTagTable
getTagTable()
boolean
isColor()
boolean
isEmbeddedInFile()
boolean
isGlossy()
boolean
isPositive()
boolean
isReflective()
java.util.Iterator<MetadataEntry>
iterator()
void
read()
static void
showProfile(byte[] data)
static void
showProfile(java.io.InputStream is)
Methods inherited from class pixy.meta.Metadata
ensureDataRead, extractThumbnails, extractThumbnails, extractThumbnails, getData, getType, insertComment, insertComments, insertExif, insertExif, insertICCProfile, insertIPTC, insertIPTC, insertIRB, insertIRB, insertIRBThumbnail, insertXMP, insertXMP, isDataRead, readMetadata, readMetadata, readMetadata, removeMetadata, write
-
Field Details
-
TAG_TABLE_OFFSET
public static final int TAG_TABLE_OFFSET- See Also:
- Constant Field Values
-
-
Constructor Details
-
ICCProfile
public ICCProfile(byte[] profile) -
ICCProfile
public ICCProfile(java.io.InputStream is) throws java.io.IOException- Throws:
java.io.IOException
-
-
Method Details
-
showProfile
public static void showProfile(byte[] data) -
showProfile
public static void showProfile(java.io.InputStream is) -
canBeUsedIndependently
public boolean canBeUsedIndependently() -
getBytesReserved
public java.lang.String getBytesReserved() -
getColorSpace
public java.lang.String getColorSpace() -
getDateTimeCreated
public java.lang.String getDateTimeCreated() -
getDeviceAttributes
public java.lang.String getDeviceAttributes() -
getDeviceManufacturer
public java.lang.String getDeviceManufacturer() -
getDeviceModel
public java.lang.String getDeviceModel() -
getPCS
public java.lang.String getPCS() -
getPCSXYZ
public float[] getPCSXYZ() -
getPreferredCMMType
public java.lang.String getPreferredCMMType() -
getPrimaryPlatformSignature
public java.lang.String getPrimaryPlatformSignature() -
getProfileClass
public java.lang.String getProfileClass() -
getProfileClassDescription
public java.lang.String getProfileClassDescription() -
getProfileCreator
public java.lang.String getProfileCreator() -
getProfileFileSignature
public java.lang.String getProfileFileSignature() -
getProfileFlags
public java.lang.String getProfileFlags() -
getProfileID
public java.lang.String getProfileID() -
getProfileSize
public long getProfileSize() -
getProfileVersionNumber
public java.lang.String getProfileVersionNumber() -
getRenderingIntent
public int getRenderingIntent() -
getRenderingIntentDescription
public java.lang.String getRenderingIntentDescription() -
getTagTable
-
isColor
public boolean isColor() -
isEmbeddedInFile
public boolean isEmbeddedInFile() -
isGlossy
public boolean isGlossy() -
isPositive
public boolean isPositive() -
isReflective
public boolean isReflective() -
iterator
-
read
public void read() throws java.io.IOException- Throws:
java.io.IOException
-