Table of Contents

Enum PngBitDepth

Namespace
SixLabors.ImageSharp.Formats.Png
Assembly
SixLabors.ImageSharp.dll

Provides enumeration for the available PNG bit depths.

public enum PngBitDepth : byte

Fields

Bit1 = 1

1 bit per sample or per palette index (not per pixel).

Bit16 = 16

16 bits per sample or per palette index (not per pixel).

Bit2 = 2

2 bits per sample or per palette index (not per pixel).

Bit4 = 4

4 bits per sample or per palette index (not per pixel).

Bit8 = 8

8 bits per sample or per palette index (not per pixel).