This is a command-line tool written in Rust that converts images into ASCII art. It takes an image file as input and generates ASCII art output on the console.
- Converts images into ASCII art.
- Supports various image formats, such as JPEG, PNG, GIF, etc.
- Customizable output: Users can adjust the resolution and ASCII character set for generating ASCII art.
- Lightweight and fast processing.
-
Make sure you have Rust installed. If not, you can install it from the official Rust website.
-
Clone this repository:
git clone https://github.com/variablevar/img2ascii.git
-
Navigate to the project directory:
cd img2ascii
-
Build the project:
cargo build --release
-
The binary will be located in the
target/release/
directory.
img2ascii [OPTIONS] <image_path> <scale_factor>