PngCs
1.1.4
A C# library for read/write PNG images
|
Wraps the raw chunk data More...
Public Member Functions | |
override String | ToString () |
Just id and length | |
Public Attributes | |
readonly int | Length |
The length counts only the data field, not itself, the chunk type code, or the CRC. Zero is a valid length. Although encoders and decoders should treat the length as unsigned, its value must not exceed 2^31-1 bytes. | |
readonly byte[] | IdBytes |
Chunk Id, as array of 4 bytes | |
byte[] | Data |
Raw data, crc not included | |
Wraps the raw chunk data
Short lived object, to be created while serialing/deserializing
Do not reuse it for different chunks
See http://www.libpng.org/pub/png/spec/1.2/PNG-Chunks.html /remarks>
override String Hjg.Pngcs.Chunks.ChunkRaw.ToString | ( | ) |
Just id and length
readonly int Hjg.Pngcs.Chunks.ChunkRaw.Length |
The length counts only the data field, not itself, the chunk type code, or the CRC. Zero is a valid length. Although encoders and decoders should treat the length as unsigned, its value must not exceed 2^31-1 bytes.
readonly byte [] Hjg.Pngcs.Chunks.ChunkRaw.IdBytes |
Chunk Id, as array of 4 bytes
byte [] Hjg.Pngcs.Chunks.ChunkRaw.Data |
Raw data, crc not included