โโโ35005550โโโโ22โโโโโโโโโโโ666โโโโโ666โโโโโโโโโโโโโ165โโโโโโโโโ
โโ002โโโโโโโโโโ77โโโโ003โโโโ555โโโโโ555โโโโโโโโโโโโโ350โโโโโโโโโ
โ056โโโโโโโโโโโโโโโโ155677โโ555โโโโโ555โโโโโโโโโโโโโ3554โ337โโโโ
โ053โโโ89889โโโ00โโโ4559โโโโ55555555555โโ006โโโ400โโ3557โโโ008โโ
โ059โโโโโ300โโโ00โโโโ051โโโโ555โโโโโ555โโ059โโโ700โโ350โโโโ850โโ
โ3007โโโโ700โโโ00โโโโ053โโโโ555โโโโโ555โโ059โโโ400โโ350โโโโ950โโ
โโโ900988500โโโ00โโโโ90034โโ000โโโโโ000โโ800371650โโ205847805โโโ
Command Line ASCII Art Generator
ASCIIcli is a command line interface that is powered by Python3. You can generate ASCII art by importing an image and then selecting the character set that you want to generate with.
Installation & Building
PIP
The easiest way to install ASCIIcli is by using the PyPI library.
You can run pip install ASCIIcli
on any command-line with Python3 in order to install it.
Releases
If you are unable to use the PyPI library you can access ASCIIcli by going to our releases page.
There you can download the .exe file and run the CLI by going to the folder that the program is downloaded in and running .\asciicli
Usage
asciicli C:/full/path/to/your/image [-h] [-percent VALUE] [-set VALUE] [-gray VALUE] [-random] [-invert]
If you have downloaded the application through pip input the following command in the terminal:
asciicli C:/full/path/to/your/image -p 10 -s 1 -r
If you are running the .exe package you will need to slightly alter the command by calling the exact folder of ASCIIcli
.\path\to\asciicli.exe C:/full/path/to/your/image
-p 10 -s 1 -r
Assuming the file is 1024x219, this command will generate a .txt file that is 21 lines long with each line taking up 201 characters using the character set to one. The -s
variable is optional as the default character set is one. Random has been set to true and it will take the image from assets/input.jpg and generate a .txt file titled input-ascii.jpg in the same folder as the image.
Random and Invert are will take effect when called upon with the -random/-r and -invert/-i arguments, whereas the Gray and Set arguments are all integers.
Basic Latin & Latin Supliments
Set 1: a --> z (lowercase)
Set 2: A --> Z (uppercase)
Set 3: 0 --> 9 (numerals)
Set 4: ,, :, :, -, โณ, ., &, @, ^, /, , -, =, !, ยก, ?, ยก, ยฟ, ๐ป, |, ยฆ, โ, โข, ยท, ยฉ, โ, ยฎ, โ, โ, ', ", ยซ, ยป, (, ), [, ], {, }, ยถ, ยง, โ , โก, โง, โ (punctuation & typographical symbols)
Set 5: ยค, ยต, ยข, ยฅ, ยฃ, $, %, #, โ, ยบ, ยช, %, ยฐ, +, -, รท, ร,, /, ยฑ, ยฌ, ~, _, ^, <, > (mathematical symbols)
Block Elements & Geometric Shapes
Set 6: โ, โ, โ, โ (Rectangle element characters)
Set 7: โก, โข, โซ, โฐ, โฑ, โฒ, โณ, โง, โจ, โฉ, โช, โ, โค, โฅ, โฆ, โง, โจ, โฃ, โฉ, โ