Skip to main content

A command-line tool that converts images to ASCII art.

Project description

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 [-h] [--width] [--height] [--set] [--random] [--invert] [--darkness] C:/full/path/to/your/image

Set 1: A -> Z
Set 2: 0 -> 9
Set 3: 0, O, o, 8, 9, 6, @, &, ., ", :
Set 4: ▀, ▄, ▌, ▐, ■, ◽, ◆, ►, ●, ░, ▒, ▓, █
Set 5: !, @, #, $, %, ^, &, *, (, ), _, +, -, =

NOTE: SET 3 MIGHT NOT DISPLAY CORRECTLY IN CERTAIN FONTS OR EDITORS

If you have downloaded the application through pip input the following command in the terminal: asciicli --width 40 --height 17 --set 1 --random True C:/full/path/to/your/image

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 --width 40 --height 17 --set 1 --random True C:/full/path/to/your/image

This command will set the width to 40, the height to 17 and the character set to one. The --set 1 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 boolians and must be set to True/False, whereas Darkness, Set, Height and Width are all integers.


LICENSE

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ASCIIcli-0.0.6.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

ASCIIcli-0.0.6-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file ASCIIcli-0.0.6.tar.gz.

File metadata

  • Download URL: ASCIIcli-0.0.6.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for ASCIIcli-0.0.6.tar.gz
Algorithm Hash digest
SHA256 37fd66fa39593d63ff51b6382a01f7fae3a98abf8850bc0434bc74a22921d13d
MD5 315ed29032a406601e8e3724e23fceea
BLAKE2b-256 8c8a41eda5067d1f1c60260c506a2609beab26a7b257002e882a730d80871239

See more details on using hashes here.

File details

Details for the file ASCIIcli-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: ASCIIcli-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for ASCIIcli-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c170f997e4afe67b171d661bfc54f634d96df5cff68da09c1641d9649d8cbadb
MD5 f68fb8127f09e1d8127f869a5f2b81cf
BLAKE2b-256 0e9e229933e99fa0d276df9bf79ae9a54d3be6af5029ef1097744dbf3ff4c05c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page