PngCs
1.1.4
A C# library for read/write PNG images
|
sRGB chunk: http://www.w3.org/TR/PNG/#11sRGB More...
Inherits Hjg.Pngcs.Chunks.PngChunkSingle.
Public Member Functions | |
PngChunkSRGB (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 c) |
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 | |
Public Member Functions inherited from Hjg.Pngcs.Chunks.PngChunkSingle | |
PngChunkSingle (String id, ImageInfo imgInfo) | |
sealed override bool | AllowsMultiple () |
This is implemented in PngChunkMultiple/PngChunSingle | |
override int | GetHashCode () |
override bool | Equals (object obj) |
Public Member Functions inherited from Hjg.Pngcs.Chunks.PngChunk | |
ChunkRaw | createEmptyChunk (int len, bool alloc) |
override String | ToString () |
Basic info: Id, length, Type name | |
Public Attributes | |
const String | ID = ChunkHelper.sRGB |
const int | RENDER_INTENT_Perceptual = 0 |
const int | RENDER_INTENT_Relative_colorimetric = 1 |
const int | RENDER_INTENT_Saturation = 2 |
const int | RENDER_INTENT_Absolute_colorimetric = 3 |
Properties | |
int | Intent [get, set] |
Additional Inherited Members | |
Public Types inherited from Hjg.Pngcs.Chunks.PngChunk | |
enum | ChunkOrderingConstraint { NONE, BEFORE_PLTE_AND_IDAT, AFTER_PLTE_BEFORE_IDAT, BEFORE_IDAT, NA } |
Restrictions for chunk ordering, for ancillary chunks More... | |
Static Public Member Functions inherited from Hjg.Pngcs.Chunks.PngChunk | |
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) |
Protected Member Functions inherited from Hjg.Pngcs.Chunks.PngChunk | |
PngChunk (String id, ImageInfo imgInfo) | |
Constructs an empty chunk | |
Protected Attributes inherited from Hjg.Pngcs.Chunks.PngChunk | |
readonly ImageInfo | ImgInfo |
Image basic info, mostly for some checks | |
sRGB chunk: http://www.w3.org/TR/PNG/#11sRGB
Hjg.Pngcs.Chunks.PngChunkSRGB.PngChunkSRGB | ( | ImageInfo | info | ) |
|
virtual |
|
virtual |
Serialization. Creates a Raw chunk, ready for write, from this chunk content
Implements Hjg.Pngcs.Chunks.PngChunk.
|
virtual |
Deserialization. Given a Raw chunk, just rad, fills this chunk content
Implements Hjg.Pngcs.Chunks.PngChunk.
|
virtual |
Override to make a copy (normally deep) from other chunk
other |
Implements Hjg.Pngcs.Chunks.PngChunk.
const String Hjg.Pngcs.Chunks.PngChunkSRGB.ID = ChunkHelper.sRGB |
const int Hjg.Pngcs.Chunks.PngChunkSRGB.RENDER_INTENT_Perceptual = 0 |
const int Hjg.Pngcs.Chunks.PngChunkSRGB.RENDER_INTENT_Relative_colorimetric = 1 |
const int Hjg.Pngcs.Chunks.PngChunkSRGB.RENDER_INTENT_Saturation = 2 |
const int Hjg.Pngcs.Chunks.PngChunkSRGB.RENDER_INTENT_Absolute_colorimetric = 3 |
|
getset |