ascii-izer

Crates.ioascii-izer
lib.rsascii-izer
version
sourcesrc
created_at2025-02-01 21:58:36.436351
updated_at2025-02-02 08:22:53.338875
descriptionA library for converting an image into ASCII art
homepage
repositoryhttps://github.com/ThePoultryMan/ascii-izer
max_upload_size
id1539032
Cargo.toml error:TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
(ThePoultryMan)

documentation

README

ascii-izer

An image to ASCII art library for rust

Features

  • Color [default]: Processes the image color alongside the pixels during ASCII generation.
  • Crossterm: Provides a simple method to put the ASCII into the console via crossterm. This does not output color

Usage

Simple

The functions to_ascii_lines and image_into_lines are the simplest way to convert an image into ASCII. Keep in mind, however, the dimensions taken by these functions are the exact level that the input image will be resized to, aspect ration is not respected.

Advanced

The ASCIIGenerator struct can be used to have more control over the exact parameters used.

Commit count: 35

cargo fmt