Package org.apache.commons.imaging.icc
Class IccProfileParser
- java.lang.Object
-
- org.apache.commons.imaging.common.BinaryFileParser
-
- org.apache.commons.imaging.icc.IccProfileParser
-
public class IccProfileParser extends BinaryFileParser
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.logging.LoggerLOGGER
-
Constructor Summary
Constructors Constructor Description IccProfileParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IccProfileInfogetICCProfileInfo(byte[] bytes)IccProfileInfogetICCProfileInfo(java.awt.color.ICC_Profile iccProfile)IccProfileInfogetICCProfileInfo(java.io.File file)IccProfileInfogetICCProfileInfo(ByteSource byteSource)private IccTagTypegetIccTagType(int quad)booleanissRGB(byte[] bytes)booleanissRGB(java.awt.color.ICC_Profile iccProfile)booleanissRGB(java.io.File file)booleanissRGB(ByteSource byteSource)private IccProfileInforeadICCProfileInfo(java.io.InputStream is)-
Methods inherited from class org.apache.commons.imaging.common.BinaryFileParser
debugNumber, debugNumber, getByteOrder, setByteOrder
-
-
-
-
Method Detail
-
getICCProfileInfo
public IccProfileInfo getICCProfileInfo(java.awt.color.ICC_Profile iccProfile)
-
getICCProfileInfo
public IccProfileInfo getICCProfileInfo(byte[] bytes)
-
getICCProfileInfo
public IccProfileInfo getICCProfileInfo(java.io.File file)
-
getICCProfileInfo
public IccProfileInfo getICCProfileInfo(ByteSource byteSource)
-
readICCProfileInfo
private IccProfileInfo readICCProfileInfo(java.io.InputStream is)
-
getIccTagType
private IccTagType getIccTagType(int quad)
-
issRGB
public boolean issRGB(java.awt.color.ICC_Profile iccProfile) throws java.io.IOException- Throws:
java.io.IOException
-
issRGB
public boolean issRGB(byte[] bytes) throws java.io.IOException- Throws:
java.io.IOException
-
issRGB
public boolean issRGB(java.io.File file) throws java.io.IOException- Throws:
java.io.IOException
-
issRGB
public boolean issRGB(ByteSource byteSource) throws java.io.IOException
- Throws:
java.io.IOException
-
-