Convert images and videos to ASCII art in your terminal
Project description
asciify-art
Convert images and videos to stunning ASCII and ANSI art right in your terminal!
asciify-art is a blazing fast command-line tool built in Python. Transform any image or video into beautiful text art with rich color support, various art styles, and incredibly optimized performance.
✨ Features
- Single Install: Everything is included—image and video processing works immediately.
- Multiple Styles: Choose from classic ASCII, detailed character palettes, braille patterns, matrix falling code, and more!
- True Color Support: Full 24-bit ANSI color formatting for foreground, background, or both.
- Video Playback: Super smooth and optimized video rendering directly in your terminal/console.
- Image Processing Filters: Tweak contrast, invert colors, or apply sharpen and edge enhance filters.
🚀 Installation
It's just one command away:
pip install asciify-art
Note: The CLI command remains asciify for convenience and speed!
📖 Quick Start
# Convert a simple image
asciify image photo.jpg
# Apply the "blocks" style with a colored background
asciify image photo.jpg -s blocks -c bg
# View all available art 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 (80 characters) and high contrast
asciify image input.png -w 80 --contrast 1.5
# Save the output to a text file
asciify image input.png -o output.txt
Video Playback
# Play a video with default settings
asciify video clip.mp4
# Matrix style rendering at 15 FPS
asciify video clip.mp4 -s matrix -f 15
# Loop a video infinitely with a distinct colored background
asciify video clip.mp4 -c bg --loop
Color Modes
none- Plain text (default)fg- Colored foreground text charactersbg- Colored background cells (resembling pixel-art)both- Foreground + dimmed background combination
⚙️ Options
Image Command Options
| 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 Options
| 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
Need more details? Access built-in documentation anytime:
asciify --help
asciify image --help
asciify video --help
📄 License
Distributed under the MIT License.
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 asciify_art-0.1.1.tar.gz.
File metadata
- Download URL: asciify_art-0.1.1.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 |
c56137fa8d9ed71c600d73855c7b41c0f045fffb02a07059a63bb61d020daaf6
|
|
| MD5 |
600fcaf7e6298b84a8a313d37aca5fec
|
|
| BLAKE2b-256 |
42c33d4a5b94767782e0637351f7d113f9ebd7b4e8ac2908d75692ee55d857a3
|
File details
Details for the file asciify_art-0.1.1-py3-none-any.whl.
File metadata
- Download URL: asciify_art-0.1.1-py3-none-any.whl
- Upload date:
- Size: 10.4 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 |
e7700b276d161ddfdd0833892274395ba2238ba4a1dbfc3132c059a88874ef84
|
|
| MD5 |
e55447685a79eb40d20f119d003785bb
|
|
| BLAKE2b-256 |
a1cfa28fe3410f8615162b009680f48ee1a947f55734fb2da42e95c0872eb5dc
|