PngCs  1.1.4
A C# library for read/write PNG images
Static Public Attributes | List of all members
Hjg.Pngcs.Chunks.ChunkCopyBehaviour Class Reference

Behaviours for chunks transfer when reading and writing. More...

Static Public Attributes

static readonly int COPY_NONE = 0
 Don't copy any chunk
 
static readonly int COPY_PALETTE = 1
 Copy the Palette, if present
 
static readonly int COPY_ALL_SAFE = 1 << 2
 Copy all SAFE chunks
 
static readonly int COPY_ALL = 1 << 3
 Copy all chunks (includes palette)
 
static readonly int COPY_PHYS = 1 << 4
 Copy Physical resolution (DPI)
 
static readonly int COPY_TEXTUAL = 1 << 5
 Copy all textual chunks (not safe)
 
static readonly int COPY_TRANSPARENCY = 1 << 6
 Copy transparency (not safe)
 
static readonly int COPY_UNKNOWN = 1 << 7
 Copy chunks unknown by our factory
 
static readonly int COPY_ALMOSTALL = 1 << 8
 Copy all known, except HIST, TIME and textual
 

Detailed Description

Behaviours for chunks transfer when reading and writing.

They are bitmasks, can be OR-ed

Member Data Documentation

readonly int Hjg.Pngcs.Chunks.ChunkCopyBehaviour.COPY_NONE = 0
static

Don't copy any chunk

readonly int Hjg.Pngcs.Chunks.ChunkCopyBehaviour.COPY_PALETTE = 1
static

Copy the Palette, if present

readonly int Hjg.Pngcs.Chunks.ChunkCopyBehaviour.COPY_ALL_SAFE = 1 << 2
static

Copy all SAFE chunks

readonly int Hjg.Pngcs.Chunks.ChunkCopyBehaviour.COPY_ALL = 1 << 3
static

Copy all chunks (includes palette)

readonly int Hjg.Pngcs.Chunks.ChunkCopyBehaviour.COPY_PHYS = 1 << 4
static

Copy Physical resolution (DPI)

readonly int Hjg.Pngcs.Chunks.ChunkCopyBehaviour.COPY_TEXTUAL = 1 << 5
static

Copy all textual chunks (not safe)

readonly int Hjg.Pngcs.Chunks.ChunkCopyBehaviour.COPY_TRANSPARENCY = 1 << 6
static

Copy transparency (not safe)

readonly int Hjg.Pngcs.Chunks.ChunkCopyBehaviour.COPY_UNKNOWN = 1 << 7
static

Copy chunks unknown by our factory

readonly int Hjg.Pngcs.Chunks.ChunkCopyBehaviour.COPY_ALMOSTALL = 1 << 8
static

Copy all known, except HIST, TIME and textual