PngWriter Members

The PngWriter type exposes the following members.

Constructors

Name Description
Public method PngWriter Overloaded.

Initializes a new instance of the PngWriter class using the specified file media.

Methods

Name Description
Public method Close

Closes the writer, flushes all unsaved data, and detaches the it from the opened file (or other media).

(Inherited from ImageWriter.)
Public method Dispose

Releases all resources used by this PipelineElement.

(Inherited from PipelineElement.)
Public method Equals (Inherited from Object.)
Public method GetAppropriatePixelFormat

Returns an appropriate pixel format for this PngWriter.

(Overrides ImageWriter.GetAppropriatePixelFormat(PixelFormat).)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method IsPixelFormatSupported

Verifies whether the specified pixel format is supported by this PipelineElement.

(Inherited from PipelineElement.)
Protected method MemberwiseClone (Inherited from Object.)
Public method RunPipeline

Runs a pipeline staring from this PipelineElement.

(Inherited from PipelineElement.)
Public method Setup

Configures this image writer using the provided settings.

(Overrides ImageWriter.Setup(WriterSettings).)
Public method SetupElement (Overrides PipelineElement.IsCopyConstructed*).)
Public method ToString (Inherited from Object.)

Properties

Name Description
Public property CompressionLevel

Gets or sets a value indicating the compression level for underlying zlib.

Public property Id

Gets or sets a unique identifier of this PipelineElement.

(Inherited from PipelineElement.)
Public property IsInterlaced

Gets or sets a value indicating whether the image is interlaced.

Public property IsOpened

Gets a value indicating whether the writer is opened.

(Inherited from ImageWriter.)
Public property Receivers

Gets a collection of pipeline elements that will receive the result of this PipelineElement.

(Inherited from PipelineElement.)
Public property SupportedPixelFormats

Gets a collection of pixel formats that are supported by this PipelineElement.

(Inherited from PipelineElement.)

Events

Name Description
Public event OnInit

Occurs when the pipeline element is initialized.

(Inherited from PipelineElement.)

See Also

Reference