Class PngChunkIccp
java.lang.Object
org.apache.commons.imaging.common.BinaryFileParser
org.apache.commons.imaging.formats.png.chunks.PngChunk
org.apache.commons.imaging.formats.png.chunks.PngChunkIccp
The PNG iCCP chunk. If "present, the image samples conform to the color space represented by the embedded ICC profile as defined by the International Color
 Consortium".
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionPngChunkIccp(int length, int chunkType, int crc, byte[] bytes) Constructs a new instance.
- 
Method SummaryModifier and TypeMethodDescriptionbyte[]intbyte[]Gets a copy of the uncompressed profile data.Methods inherited from class org.apache.commons.imaging.formats.png.chunks.PngChunkgetBytes, getChunkType, getCrc, getDataStream, getLength, getPropertyBits, isAncillary, isPrivate, isReserved, isSafeToCopyMethods inherited from class org.apache.commons.imaging.common.BinaryFileParserdebugNumber, debugNumber, getByteOrder, setByteOrder
- 
Constructor Details- 
PngChunkIccppublic PngChunkIccp(int length, int chunkType, int crc, byte[] bytes) throws ImagingException, IOException Constructs a new instance.- Parameters:
- length- chunk length
- chunkType- chunk type
- crc- CRC computed over the chunk type and chunk data (but not the length)
- bytes- chunk data bytes
- Throws:
- ImagingException- when no profile name is present
- IOException- when an error happens while reading the profile data
 
 
- 
- 
Method Details- 
getCompressedProfile
- 
getCompressionMethod
- 
getProfileName
- 
getUncompressedProfileGets a copy of the uncompressed profile data.- Returns:
- the uncompressed profile data
 
 
-