Table of Contents

Field PngCompressionLevel

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

Png image option name for setting a compression level (0..9) when saving a PNG file. A high value creates smaller, but slower PNG file. Note that unlike other formats (e.g.JPEG) the PNG format is always lossless and thus this compression level doesn't tradeoff the image quality.

public const string PngCompressionLevel = "PngZL"

Returns

string
Png image option name for setting a compression level (0..9) when saving a PNG file. A high value creates smaller, but slower PNG file. Note that unlike other formats (e.g.JPEG) the PNG format is always lossless and thus this compression level doesn't tradeoff the image quality.