|Visual Basic (Declaration)|
Public Class PngEncoder Implements DTI.ImageMan.ImEncoder, DTI.ImageMan.ImMultiPageEncoder
|Visual Basic (Usage)||Copy Code|
Dim instance As PngEncoder
|Managed Extensions for C++|
public __gc class PngEncoder : public DTI.ImageMan.ImEncoder, DTI.ImageMan.ImMultiPageEncoder
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.
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