Enum PngTransparentColorMode
- Namespace
- SixLabors.ImageSharp.Formats.Png
- Assembly
- SixLabors.ImageSharp.dll
Enum indicating how the transparency should be handled on encoding.
public enum PngTransparentColorMode
Fields
Clear = 1
Converts fully transparent pixels that may contain R, G, B values which are not 0, to transparent black, which can yield in better compression in some cases.
Preserve = 0
The transparency will be kept as is.