4 releases (1 stable)
|1.0.1||Nov 20, 2023|
|0.1.4||Nov 15, 2023|
#139 in Text processing
126 downloads per month
A rust-powered image-to-ascii converter
imgr [options] <path to image>
- Enable colored output:
- Set the style of the image:
- ascii (default)
- braille (experimental)
Enable image resizing:
Set the resizing scale:
- Write the output to a file instead of printing to terminal
-o <path to file>or
--output <path to file>
cargo install imgr
git clone https://github.com/shamxl/imgr.git cd imgr cargo build --release
As I continue my journey with Rust, please pardon any imperfections in this program. They're all part of the learning process.
Frequently Asked Questions
Q: I installed
imgr using Cargo, but I can't find the binary. Where is it?
A: By default, Cargo installs binaries in the
.cargo directory. To make
imgr easily accessible, consider adding the Cargo bin directory to your system's
PATH. You can find the location of the Cargo bin directory by running
cargo install --help and looking for the "bin" section.
Q: How can I add the Cargo bin directory to my system's
A: On Unix-based systems (Linux, macOS), you can add the following line to your shell profile file (e.g.,
On Windows, you can add the Cargo bin directory to the system environment variables.
After making these changes, restart your terminal, and you should be able to run
imgr from anywhere in the command line.