| Crates.io | pixt |
| lib.rs | pixt |
| version | 1.1.1 |
| created_at | 2025-02-13 15:51:25.748966+00 |
| updated_at | 2025-03-07 15:53:44.713454+00 |
| description | Terminal Based Cross Platform Image Viewer |
| homepage | |
| repository | https://github.com/BiswajitThakur/pixt |
| max_upload_size | |
| id | 1554411 |
| size | 71,085 |
pixt is a command-line tool for rendering images directly in the terminal with various styles, including pixel-based, ASCII, block, and braille.
cargo install pixt
git clone https://github.com/BiswajitThakur/pixt.git
cd pixt
cargo build --release
./target/release/pixt --help
Usage: pixt [OPTIONS] [FILES]...
Arguments:
[FILES]... Input file paths
Options:
-w, --width <WIDTH> Output width in terminal characters
-H, --height <HEIGHT> Output height in terminal characters
-c, --colored Enable colored output
-s, --style <STYLE> Style of Output Image [default: pixel] [possible values: pixel, ascii, block, braills, dots, custom, from-file]
-o, --output <OUTPUT> Optput
-h, --help Print help
-c or --colored flagpixt -c <path of image>

pixt <path of image>

pixt -c -s ascii <path of image>

pixt -s ascii <path of image>

pixt -s from-file <file> <image-path>

pixt -c -s custom ' `"-~:^>()*?[]{}=$#@' <path of image>

pixt -s custom ' `"-~:^>()*?[]{}=$#@' <path of image>

pixt -c -s dots <path of image>

pixt -s dots <path of image>

This project is licensed under the MIT License.
Feel free to open issues or submit pull requests!