Enum PngTransparentColorMode
Enum indicating how the transparency should be handled on encoding.
Namespace: SixLabors.ImageSharp.Formats.Png
Assembly: SixLabors.ImageSharp.dll
Syntax
public enum PngTransparentColorMode
Fields
Name | Description |
---|---|
Clear | 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 | The transparency will be kept as is. |