You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kasianov Nikolai Alekseevich
c4f029f38a
|
2 years ago | |
---|---|---|
src | 2 years ago | |
.gitignore | 3 years ago | |
Cargo.lock | 2 years ago | |
Cargo.toml | 2 years ago | |
LICENSE | 3 years ago | |
README.md | 3 years ago | |
install.sh | 3 years ago | |
uninstall.sh | 3 years ago |
README.md
charify - a command line utility to convert an image to an array of characters
Usage
charify [OPTIONS] --image <image> --destination <destination>
where
image
is the path to an existing imagedestination
is the path to a newly created text file
and
OPTIONS:
-
-c, --charset <charset>
Set a new character set to use [default: "[' ', '░', '▒', '▓', '█']"] -
-h, --help
Print help information -
-r, --new_dimensions <new_dimensions>
Resize source image to specified dimensions
Examples
charify ~/wallpapers/image.png ~/wallpapers/my_wallpaper_but_in_text.txt
charify image.jpg textfile.txt -r 500x450
charify img.png charified.txt -c abcdefg