Click or drag to resize

PngEncoder Constructor (Color, Double, Boolean, ComTextCollection)

Initializes a new instance of a %PngEncoder% specifying the background color, gamma, interlace, and COM Text value to save.
Initializes a new instance of a PngEncoder.

Namespace:  Atalasoft.Imaging.Codec
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public PngEncoder(
	Color backgroundColor,
	double gamma,
	bool interlaced,
	ComTextCollection comText
)

Parameters

backgroundColor
Type: System.DrawingColor
The color to use as the default background color for Png images with alpha.
gamma
Type: SystemDouble
The gamma value to write to a PNG image.
interlaced
Type: SystemBoolean
The Png Interlace setting.
comText
Type: Atalasoft.Imaging.MetadataComTextCollection
The COM text metadata to save with the image.
See Also