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.Logger
LOGGER
-
Constructor Summary
Constructors Constructor Description IccProfileParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IccProfileInfo
getICCProfileInfo(byte[] bytes)
IccProfileInfo
getICCProfileInfo(java.awt.color.ICC_Profile iccProfile)
IccProfileInfo
getICCProfileInfo(java.io.File file)
IccProfileInfo
getICCProfileInfo(ByteSource byteSource)
private IccTagType
getIccTagType(int quad)
boolean
issRGB(byte[] bytes)
boolean
issRGB(java.awt.color.ICC_Profile iccProfile)
boolean
issRGB(java.io.File file)
boolean
issRGB(ByteSource byteSource)
private IccProfileInfo
readICCProfileInfo(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
-
-