iCCP Chunk: see http://www.w3.org/TR/PNG/#11iCCP
More...
Inherits Hjg.Pngcs.Chunks.PngChunkSingle.
|
| PngChunkICCP (ImageInfo info) |
|
override ChunkOrderingConstraint | GetOrderingConstraint () |
| Get ordering constrain
|
|
override ChunkRaw | CreateRawChunk () |
| Serialization. Creates a Raw chunk, ready for write, from this chunk content
|
|
override void | ParseFromRaw (ChunkRaw chunk) |
| Deserialization. Given a Raw chunk, just rad, fills this chunk content
|
|
override void | CloneDataFromRead (PngChunk other) |
| Override to make a copy (normally deep) from other chunk
|
|
void | SetProfileNameAndContent (String name, String profile) |
| Sets profile name and profile
|
|
void | SetProfileNameAndContent (String name, byte[] profile) |
| Sets profile name and profile
|
|
String | GetProfileName () |
|
byte[] | GetProfile () |
| This uncompresses the string!
|
|
String | GetProfileAsString () |
|
| PngChunkSingle (String id, ImageInfo imgInfo) |
|
sealed override bool | AllowsMultiple () |
| This is implemented in PngChunkMultiple/PngChunSingle
|
|
override int | GetHashCode () |
|
override bool | Equals (object obj) |
|
ChunkRaw | createEmptyChunk (int len, bool alloc) |
|
override String | ToString () |
| Basic info: Id, length, Type name
|
|
|
const String | ID = ChunkHelper.iCCP |
|
|
enum | ChunkOrderingConstraint {
NONE,
BEFORE_PLTE_AND_IDAT,
AFTER_PLTE_BEFORE_IDAT,
BEFORE_IDAT,
NA
} |
| Restrictions for chunk ordering, for ancillary chunks More...
|
|
static void | FactoryRegister (String chunkId, Type type) |
| Registers a Chunk ID in the factory, to instantiate a given type
|
|
static T | CloneChunk< T > (T chunk, ImageInfo info) |
|
| PngChunk (String id, ImageInfo imgInfo) |
| Constructs an empty chunk
|
|
readonly ImageInfo | ImgInfo |
| Image basic info, mostly for some checks
|
|
bool | Priority [get, set] |
| For writing. Queued chunks with high priority will be written as soon as possible
|
|
int | ChunkGroup [get, set] |
| Chunk group where it was read or writen
|
|
int | Length [get, set] |
|
long | Offset [get, set] |
|
Hjg.Pngcs.Chunks.PngChunkICCP.PngChunkICCP |
( |
ImageInfo |
info | ) |
|
override ChunkRaw Hjg.Pngcs.Chunks.PngChunkICCP.CreateRawChunk |
( |
| ) |
|
|
virtual |
override void Hjg.Pngcs.Chunks.PngChunkICCP.ParseFromRaw |
( |
ChunkRaw |
c | ) |
|
|
virtual |
override void Hjg.Pngcs.Chunks.PngChunkICCP.CloneDataFromRead |
( |
PngChunk |
other | ) |
|
|
virtual |
void Hjg.Pngcs.Chunks.PngChunkICCP.SetProfileNameAndContent |
( |
String |
name, |
|
|
String |
profile |
|
) |
| |
Sets profile name and profile
- Parameters
-
name | profile name |
profile | profile (latin1 string) |
void Hjg.Pngcs.Chunks.PngChunkICCP.SetProfileNameAndContent |
( |
String |
name, |
|
|
byte[] |
profile |
|
) |
| |
Sets profile name and profile
- Parameters
-
name | profile name |
profile | profile (uncompressed) |
String Hjg.Pngcs.Chunks.PngChunkICCP.GetProfileName |
( |
| ) |
|
byte [] Hjg.Pngcs.Chunks.PngChunkICCP.GetProfile |
( |
| ) |
|
This uncompresses the string!
- Returns
String Hjg.Pngcs.Chunks.PngChunkICCP.GetProfileAsString |
( |
| ) |
|
const String Hjg.Pngcs.Chunks.PngChunkICCP.ID = ChunkHelper.iCCP |