A utility library to convert monochrome bitmaps to textual representation.
To use bitmap_writer, first add this to your Cargo.toml:
[dependencies]
bitmap_writer = "0.1.1"Next, add this to your crate:
use bitmap_writer::{Writer, Bitmap, Frame, Style};bitmap_writer will work in a no_std environment, but will be missing support for direct .print(...),
instead requiring to use a writable buffer or stream with the Write trait, either std::io::Write or core::fmt::Write.
Different sets of characters - either ASCII or Unicode - can be used to convert the bitmap pixels to characters.
See bitmap_writer::Style for more details.
This project is licensed under the MIT license.
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in bitmap_writer by you, shall be licensed as MIT, without any additional
terms or conditions.