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 = 1
1 bit per pixel.
Pixel16 = 16
16 bits per pixel. Each pixel consists of 2 bytes.
Pixel2 = 2
2 bits per pixel.
Pixel24 = 24
24 bits per pixel. Each pixel consists of 3 bytes.
Pixel32 = 32
32 bits per pixel. Each pixel consists of 4 bytes.
Pixel4 = 4
4 bits per pixel.
Pixel8 = 8
8 bits per pixel. Each pixel consists of 1 byte.