This documentation is for the old version. Go to the latest Graphics Mill docs

PngReader Class

This class enables you to read PNG images.

Namespace: Aurigma.GraphicsMill.Codecs
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public NotInheritable Class PngReader _
	Inherits FormatReader
C#
public sealed class PngReader : FormatReader

Remarks

The Portable Network Graphics (PNG) format was designed to replace the older and simpler GIF format and, to some extent, the much more complex TIFF format. Besides of it, PNG was developed to avoid legal problems which was caused by LZW algorithm used in GIF and sometimes in TIFF. For the Web, PNG really has four main advantages over GIF:

  • Alpha channel support (variable transparency);Gamma correction (cross-platform control of image brightness);Two-dimensional interlacing (a method of progressive display);In general it has higher compression ratio comparing to GIF (and still lossless);

PNG supports images of most Graphics Mill for .NET pixel formats (indexed, grayscale, and RGB, including extended versions). Being web-oriented, it does not support CMYK images. Only single bitmap can be stored into single PNG file (i.e. it has no multiple frames support).

Inheritance Hierarchy

Thread Safety

Static members of this type are safe for multi-threaded operations. Instance members of this type are safe for multi-threaded operations.

Object Model




See Also

Reference