A Python library for converting images and videos into ASCII art.
Project description
Ascii Art Python
A Python library that makes it easy to convert images and videos to ASCII Art.
Installation
You can install the library locally or (if you plan to publish it later) via pip:
pip install ascii-art-python
Dependencies
This project uses the following libraries:
- Pillow (image manipulation)
- opencv-python (video reading and writing)
- tqdm (progress bar)
- requests
Usage
Here is a basic example of how to use the library:
from ascii_art_python.new_school import ImageAscii
from PIL import Image
# Load an image with Pillow
img = Image.open("mon_image.jpg")
# Convert to ASCII
ascii_converter = ImageAscii(img)
ascii_converter.export("mon_export", export_type="txt")
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ascii_art_python-0.1.1.tar.gz.
File metadata
- Download URL: ascii_art_python-0.1.1.tar.gz
- Upload date:
- Size: 263.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd8a86e0187e07735786a2066557f922bd7e40fe64f196ada1878e2be658374a
|
|
| MD5 |
1fde86162f84468cffe44fb7a29574d1
|
|
| BLAKE2b-256 |
29a4ae5298bebf8b9f79d76fa70bba3b8b847dd23a3d3e54070340cdd6d8b3aa
|
File details
Details for the file ascii_art_python-0.1.1-py3-none-any.whl.
File metadata
- Download URL: ascii_art_python-0.1.1-py3-none-any.whl
- Upload date:
- Size: 262.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0509e04c778e26b30ef1cf1934e4eab1975cda58b2f31c5e515ce7be2e2a9a53
|
|
| MD5 |
f3096f97f937c1956016440e24d0260f
|
|
| BLAKE2b-256 |
c579f72c9b5a64f9692620b5b840e53548ff9cba675e25b11e4530233a23211e
|