Enum BmpBitsPerPixel
Enumerates the available bits per pixel the bitmap encoder supports.
Namespace: SixLabors.ImageSharp.Formats.Bmp
Assembly: SixLabors.ImageSharp.dll
Syntax
public enum BmpBitsPerPixel : short
Fields
Name | Description |
---|---|
Pixel1 | 1 bit per pixel. |
Pixel16 | 16 bits per pixel. Each pixel consists of 2 bytes. |
Pixel2 | 2 bits per pixel. |
Pixel24 | 24 bits per pixel. Each pixel consists of 3 bytes. |
Pixel32 | 32 bits per pixel. Each pixel consists of 4 bytes. |
Pixel4 | 4 bits per pixel. |
Pixel8 | 8 bits per pixel. Each pixel consists of 1 byte. |