https://github.com/derivia/rascii
Generate ASCII art from image.
https://github.com/derivia/rascii
Last synced: over 1 year ago
JSON representation
Generate ASCII art from image.
- Host: GitHub
- URL: https://github.com/derivia/rascii
- Owner: derivia
- License: mit
- Created: 2024-11-12T06:48:22.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-12T12:51:03.000Z (over 1 year ago)
- Last Synced: 2025-02-02T08:32:00.936Z (over 1 year ago)
- Language: Rust
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rascii
> @TODO: maybe change this title later
Generate ASCII art from image on the command line.
## Building
1. First, you need to have Rust and Cargo installed. You can install Rust by following the instructions at [rustup.rs](https://rustup.rs).
2. Clone the repository:
```sh
$ git clone https://github.com/derivia/rascii
```
3. Build rascii using cargo:
```sh
# inside the cloned folder
$ cargo build
```
## Usage
```sh
Usage: rascii [OPTIONS]
Arguments:
Image to convert into ASCII art
Options:
--width Width of the output [default: 100]
--aspect-ratio Aspect ratio correction factor for output [default: 0.5]
--contrast Contrast adjustment (0.5 to 2.0) [default: 1.0]
--invert Invert colors
--dense Use dense character set
-h, --help Print help
```
## License
[MIT](./LICENSE)