public sealed class MonoBitmap
A stored 1-bit graphic (~DG, ~DY, ^GF) — 1 = black, MSB first.
Constructors
| Signature | Description |
# MonoBitmap(byte[] bits, int bytesPerRow, int height) | |
Properties
Methods
| Method Signature | Returns | Description |
static # FromBitmap(SKBitmap source, byte threshold = 128, bool dither = false) | MonoBitmap | Converts any image to 1-bit using a luminance threshold (or Floyd–Steinberg dithering). |
# ToGfa(bool compress = true) | string | ^GFA command for this graphic (optionally Z64-compressed). |