public class PngChunkICCP extends PngChunkSingle
See http://www.w3.org/TR/PNG/#11iCCP
PngChunk.ChunkOrderingConstraint
Constructor and Description |
---|
PngChunkICCP(ImageInfo info) |
Modifier and Type | Method and Description |
---|---|
ChunkRaw |
createRawChunk()
Creates the physical chunk.
|
PngChunk.ChunkOrderingConstraint |
getOrderingConstraint()
|
byte[] |
getProfile()
uncompressed
|
String |
getProfileAsString() |
String |
getProfileName() |
void |
parseFromRaw(ChunkRaw chunk)
Parses raw chunk and fill inside data.
|
void |
setProfileNameAndContent(String name,
byte[] profile)
The profile should be uncompressed bytes
|
void |
setProfileNameAndContent(String name,
String profile) |
allowsMultiple, equals, hashCode
createEmptyChunk, getChunkGroup, getLen, getOffset, getRaw, hasPriority, invalidateRawData, setPriority, toString
public static final String ID
public PngChunkICCP(ImageInfo info)
public PngChunk.ChunkOrderingConstraint getOrderingConstraint()
PngChunk
getOrderingConstraint
in class PngChunk
public ChunkRaw createRawChunk()
PngChunk
createRawChunk
in class PngChunk
public void parseFromRaw(ChunkRaw chunk)
PngChunk
parseFromRaw
in class PngChunk
public void setProfileNameAndContent(String name, byte[] profile)
public String getProfileName()
public byte[] getProfile()
public String getProfileAsString()
Copyright © 2014. All rights reserved.