A Python library for converting images and videos into ASCII art.
Project description
Ascii Art Python
Une bibliothèque Python permettant de convertir facilement des images et des vidéos en ASCII Art.
Installation
Vous pouvez installer la bibliothèque localement ou (si vous la publiez plus tard) via pip :
pip install .
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.0.tar.gz.
File metadata
- Download URL: ascii_art_python-0.1.0.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 |
d5ca63a85d5598dc869dabf815c50e52b95d2d29b61e3898d1dfb855dccff85d
|
|
| MD5 |
438bf3e372b3bcf08b3c4635cfff1d72
|
|
| BLAKE2b-256 |
cea39ef89c1685c4224917c11f61f35eb6c7de7be2880d3cdbf567f55db24082
|
File details
Details for the file ascii_art_python-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ascii_art_python-0.1.0-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 |
b650c18317e818201e709397421c620aa714b84180756e52bc3a67aa5038978e
|
|
| MD5 |
4149ce1ba36ffaf1008354591e3c847b
|
|
| BLAKE2b-256 |
68898ad7486567c3bcf6d8dca5429af6285ed400eba01ef5144539fc823d5b2d
|