Click or drag to resize

PngEncoderBackgroundIndex Property

Gets or sets the palette index or grayscale value to use as the default background color for colormapped Png images with alpha.

Namespace:  Atalasoft.Imaging.Codec
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public int BackgroundIndex { get; set; }

Property Value

Type: Int32
The palette index or grayscale value to use as the default background color for colormapped Png images with alpha.
Remarks
Set this value to -1 in order to use the closest color to BackgroundColor.
See Also