Enum PngColorType
Provides enumeration of available PNG color types.
Namespace: SixLabors.ImageSharp.Formats.Png
Assembly: SixLabors.ImageSharp.dll
Syntax
public enum PngColorType : byte
Fields
| Name | Description |
|---|---|
| Grayscale | Each pixel is a grayscale sample. |
| GrayscaleWithAlpha | Each pixel is a grayscale sample, followed by an alpha sample. |
| Palette | Each pixel is a palette index; a PLTE chunk must appear. |
| Rgb | Each pixel is an R,G,B triple. |
| RgbWithAlpha | Each pixel is an R,G,B triple, followed by an alpha sample. |