Click or drag to resize

PngEncoder Properties

The PngEncoder type exposes the following members.

Properties
  NameDescription
Public propertyBackgroundColor
Gets or sets the color to use as the default background color for Png images with alpha.
Public propertyBackgroundIndex
Gets or sets the palette index or grayscale value to use as the default background color for colormapped Png images with alpha.
Public propertyComText
Gets or sets the COM text metadata to save with the image.
Public propertyGamma
Gets or sets the gamma value to write to a PNG image. 0 will not write any value, 2.2 is a typical value for PC's. Default 0.
Public propertyInterlace
Gets or sets whether Png files are saved with a pixel row interlacing pattern. Defaults False.
Public propertySupportedPixelFormats
Returns an array of pixel formats supported by this encoder.
(Overrides ImageEncoderSupportedPixelFormats.)
Top
See Also