Convert images and videos to ASCII art in your terminal
Project description
pip install asciify
For video support:
pip install 'asciify[video]'
Quick Start
# Convert an image with default style
asciify image photo.jpg
# Use the blocks style with colored background
asciify image photo.jpg -s blocks -c bg
# List all available styles
asciify styles
Styles
| Style | Description | Best for |
|---|---|---|
ascii |
Classic .:-=+*#%@ |
Simple, clean output |
detailed |
70+ character palette | High-detail images |
blocks |
░▒▓█ shading |
Pixel-art aesthetic |
minimal |
Sparse .:oO0@ |
Clean, modern look |
braille |
Braille patterns | Dense, textured output |
matrix |
Katakana characters | Matrix effect |
dots |
Minimal dot art | Subtle conversions |
shade |
Circle progression ·∘○◎● |
Smooth gradients |
color |
True 24-bit ANSI | Full color output |
Examples
Image conversion
# Basic conversion
asciify image input.png
# Detailed style with foreground color
asciify image input.png -s detailed -c fg
# Custom width and contrast
asciify image input.png -w 80 --contrast 1.5
# Save output to file
asciify image input.png -o output.txt
Video playback
# Play video with default settings
asciify video clip.mp4
# Matrix style at 15 FPS
asciify video clip.mp4 -s matrix -f 15
# Loop video with colored background
asciify video clip.mp4 -c bg --loop
Color modes
none- Plain ASCII (default)fg- Colored foreground textbg- Colored background (pixel-like)both- Foreground + dimmed background
Options
Image command
| Option | Short | Description |
|---|---|---|
--style |
-s |
Art style (default: ascii) |
--color-mode |
-c |
Color mode: none/fg/bg/both |
--width |
-w |
Output width in characters |
--invert |
-i |
Invert brightness |
--contrast |
- | Contrast multiplier (default: 1.2) |
--sharpen |
- | Apply sharpen filter |
--edge |
- | Apply edge enhance |
--output |
-o |
Save to file |
Video command
| Option | Short | Description |
|---|---|---|
--style |
-s |
Art style (default: ascii) |
--color-mode |
-c |
Color mode: none/fg/bg/both |
--width |
-w |
Output width in characters |
--fps |
-f |
Playback FPS |
--loop |
-l |
Loop video |
--invert |
-i |
Invert brightness |
--contrast |
- | Contrast multiplier (default: 1.2) |
Help
asciify --help
asciify image --help
asciify video --help
License
MIT
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
asciify_art-0.1.0.tar.gz
(48.1 MB
view details)
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 asciify_art-0.1.0.tar.gz.
File metadata
- Download URL: asciify_art-0.1.0.tar.gz
- Upload date:
- Size: 48.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1b81c82dbbf0ee88f410df41d75a5b44856c1a5b4c8e1cd36a0abf6f020c062
|
|
| MD5 |
d161617329e871800d95009a0b5681f0
|
|
| BLAKE2b-256 |
4035a204bd56f33d305a4212d8f39503ab2480d0fe5b011e9b88f1038f2a98b6
|
File details
Details for the file asciify_art-0.1.0-py3-none-any.whl.
File metadata
- Download URL: asciify_art-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00e0a0dadf83eefcdc357aa2c8d4702cb85350240244a5384dd1f7204562def1
|
|
| MD5 |
d518f601dbe1556be42766a87de2d245
|
|
| BLAKE2b-256 |
61dff7cf10bd8e96b89739b3b8b0d2a6b244f914e571bcde9648554b1a6f0744
|