BmpCompression Enum
The compression used by BmpEncoder.
public enum BmpCompressionFields
| Name | Value | Description |
|---|---|---|
None | 0 | Uncompressed rows padded to four bytes. This is the default and the most widely readable output. |
RunLength | 1 | Run-length encoded rows: BI_RLE8 for BmpPixelLayout.Indexed8 and BI_RLE4 for BmpPixelLayout.Indexed4, the only layouts the BMP run-length schemes store. The decoded pixels are identical to BmpCompression.None: the encoding is lossless. Runs never cross a row, every pixel is stored (no delta escape is written), and the output can be larger than BmpCompression.None for images without repeated pixels. |