PngCs  1.1.4
A C# library for read/write PNG images
Namespaces | Classes | Enumerations
Package Hjg.Pngcs

Namespaces

package  Chunks
 
package  Zlib
 

Classes

class  FileHelper
 A few utility static methods to read and write files More...
 
class  FilterWriteStrategy
 Manages the writer strategy for selecting the internal png predictor filter
 
class  ImageInfo
 Simple immutable wrapper for basic image info More...
 
class  ImageLine
 Lightweight wrapper for an image scanline, for read and write More...
 
class  ImageLineHelper
 Bunch of utility static methods to process/analyze an image line. More...
 
class  ImageLines
 Wraps a set of rows from a image, read in a single operation, stored in a int[][] or byte[][] matrix More...
 
class  PngCsUtils
 Utility functions for C# porting
 
class  PngDeinterlacer
 
class  PngHelperInternal
 Some utility static methods for internal use. More...
 
class  PngIDatChunkInputStream
 Reads IDAT chunks
 
class  PngIDatChunkOutputStream
 outputs the stream for IDAT chunk , fragmented at fixed size (32k default).
 
class  PngjBadCrcException
 Exception for CRC check More...
 
class  PngjException
 Gral exception class for PNGCS library More...
 
class  PngjExceptionInternal
 Exception for internal problems More...
 
class  PngjInputException
 Exception associated with input (reading) operations More...
 
class  PngjOutputException
 Exception associated with input (reading) operations More...
 
class  PngjUnsupportedException
 Exception for unsupported operation or feature More...
 
class  PngReader
 Reads a PNG image, line by line More...
 
class  PngWriter
 Writes a PNG image, line by line. More...
 
class  ProgressiveOutputStream
 stream that outputs to memory and allows to flush fragments every 'size' bytes to some other destination
 

Enumerations

enum  FilterType {
  FILTER_NONE = 0, FILTER_SUB = 1, FILTER_UP = 2, FILTER_AVERAGE = 3,
  FILTER_PAETH = 4, FILTER_DEFAULT = -1, FILTER_AGGRESSIVE = -2, FILTER_VERYAGGRESSIVE = -3,
  FILTER_CYCLIC = -50, FILTER_UNKNOWN = -100
}
 Internal PNG predictor filter, or a strategy to select it. More...
 

Enumeration Type Documentation

Internal PNG predictor filter, or a strategy to select it.

Enumerator:
FILTER_NONE 

No filtering

FILTER_SUB 

SUB filter: uses same row

FILTER_UP 

UP filter: uses previous row

FILTER_AVERAGE 

AVERAGE filter: uses neighbors

FILTER_PAETH 

PAETH predictor

FILTER_DEFAULT 

Default strategy: select one of the standard filters depending on global image parameters

FILTER_AGGRESSIVE 

Aggressive strategy: select dinamically the filters, trying every 8 rows

FILTER_VERYAGGRESSIVE 

Very aggressive and slow strategy: tries all filters for each row

FILTER_CYCLIC 

Uses all fiters, one for lines, in cyclic way. Only useful for testing.

FILTER_UNKNOWN 

Not specified, placeholder for unknown or NA filters.