Enum BmpBitsPerPixel
- Namespace
- SixLabors.ImageSharp.Formats.Bmp
- Assembly
- SixLabors.ImageSharp.dll
Enumerates the available bits per pixel the bitmap encoder supports.
public enum BmpBitsPerPixel : short
Fields
Pixel1 = 11 bit per pixel.
Pixel16 = 1616 bits per pixel. Each pixel consists of 2 bytes.
Pixel2 = 22 bits per pixel.
Pixel24 = 2424 bits per pixel. Each pixel consists of 3 bytes.
Pixel32 = 3232 bits per pixel. Each pixel consists of 4 bytes.
Pixel4 = 44 bits per pixel.
Pixel8 = 88 bits per pixel. Each pixel consists of 1 byte.