Crate img2text

source ·

Structs

The working area for bitmap-to-text conversion.

Constants

Traits

A set of output glyphs (string fragments) that are associated with expected input image patterns.

Functions

Calculate the maximum number of bytes possibly outputted by Bmp2text::transform_and_write.
Fill [Span] using a given function that returns the desired value for each bit.

Type Definitions

A small bitmap image, whose dimensions are specified implciitly (e.g., by GlyphSet::mask_dims).
A set of consecutive pixels of a constant length.