ImageMan.Net Version 3 Summer 2012 Release
PngEncoder Class
Members  See Also  Send Feedback
DTI.ImageMan.Codecs Namespace : PngEncoder Class





Glossary Item Box

This class provides support for writing PNG Format images.

Object Model

PngEncoder Class

Syntax

Visual Basic (Declaration) 
Public Class PngEncoder 
   Implements DTI.ImageMan.ImEncoderDTI.ImageMan.ImMultiPageEncoder 
Visual Basic (Usage)Copy Code
Dim instance As PngEncoder
C# 
public class PngEncoder : DTI.ImageMan.ImEncoderDTI.ImageMan.ImMultiPageEncoder  
JScript 
public class PngEncoder implements DTI.ImageMan.ImEncoderDTI.ImageMan.ImMultiPageEncoder 
Managed Extensions for C++ 
public __gc class PngEncoder : public DTI.ImageMan.ImEncoderDTI.ImageMan.ImMultiPageEncoder  
C++/CLI 
public ref class PngEncoder : public DTI.ImageMan.ImEncoderDTI.ImageMan.ImMultiPageEncoder  

Remarks

Portable Network Graphics, a bit-mapped graphics format similar to GIF. In fact, PNG was approved as a standard by the World Wide Web consortium to replace GIF. PNG is completely patent and license-free. Recent versions of popular web browsers support PNG.

This release supports writing 1, 4, 8, 24, and 32 bit, bi-level, gray scale, and color PNG images.

In order for an image to be saved in grayscale format it must have a ramped palette as palette information is not saved in the png file itself. A ramped palette is created when the ImPalette Type is created using the GrayScale PaletteType.

Inheritance Hierarchy

System.Object
   DTI.ImageMan.Codecs.PngEncoder

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.