PngColorType

PngColorType enumeration

Represents the PNG image color type.

[Flags]
public enum PngColorType

Values

Name Value Description
Grayscale 0 Represents the color type where each pixel is a grayscale sample.
Truecolor 2 Represents the color type where each pixel is an R,G,B triple.
IndexedColor 3 Represents the color type where each pixel is a palette index; a PLTE chunk shall appear.
GrayscaleWithAlpha 4 Represents the color type where each pixel is a grayscale sample followed by an alpha sample.
TruecolorWithAlpha 6 Represents the color type where each pixel is an R,G,B triple followed by an alpha sample.

See Also