MonoBitmap class

1-bit image, rows packed MSB first, bit 1 = black (ink).

Constructors

MonoBitmap.fromImage(Image image, {int threshold = 127})
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
height → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
width → int
final
widthBytes → int
final

Methods

inkRuns({int minGap = 8}) → List<RowRun>
Runs of rows that contain ink. Short white gaps (< minGap rows) are kept inside a run -- each run costs a command header.
isBlank(RowRun run) → bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rows(RowRun run, {bool invert = false}) → Uint8List
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited