The ASCII art tool is a simple library to generate ASCII art from regular images.
Project description
ascii_art
The ascii_art is an open-source library that helps you convert any image into an ASCII-art text file.
How to get it ?
The ascii_art is a python package that you can simply install using the following command:
pip install ascii_art
How to use it ?
To use our library in your code, you need to import it and intialize it, that's all. It's easy !
## Import the library
from ascii_art import ascii_generator
## Declaring the path of the input file and the output
input = "C:/Users/Default/Desktop/image.jpg"
output = "./ascii_art.txt"
## Intialize an instance of the library
instance = ascii_generator.Generator(input=input, output=output)
## Execute the art
instance.execute()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ASCII_art_tool-1.0.0.tar.gz
(2.1 kB
view details)
Built Distribution
File details
Details for the file ASCII_art_tool-1.0.0.tar.gz
.
File metadata
- Download URL: ASCII_art_tool-1.0.0.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a02cce6f50127cb4426869ae93d38717614373ae79e46fb6b9ff0fec7f8d77e2 |
|
MD5 | 2797ed7a46d1caaccf9e0da3bb8e9c29 |
|
BLAKE2b-256 | c592b8da06b81e61a12b812aa77469cd97ab09f0fd7e7a88950ebe122f6c8df1 |
File details
Details for the file ASCII_art_tool-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: ASCII_art_tool-1.0.0-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bea83b29e4524b777080dd858cd8836abc416d0e1b71ad8b459b2f00b0f43a0a |
|
MD5 | 626d171f3e03bf4a3e14dfa48bc46416 |
|
BLAKE2b-256 | 4f7d18926da11377453ab39accb00f8922283f1e2c6eb72782647488fa924e2a |