Skip to main content

Advanced ASCII art generator with support for images, GIFs, videos, text banners, and multiple export formats

Project description

pyascii-maker

Advanced ASCII art generator with support for images, GIFs, videos, text banners, and multiple export formats.

Installation

pip install pyascii-maker

With video support:

pip install pyascii-maker[video]

Usage

Basic image conversion

pyascii-maker image.jpg

Animated shimmer

pyascii-maker image.jpg --animate

Export formats

# HTML export
pyascii-maker image.jpg -o output.html

# Rendered image export
pyascii-maker image.jpg -o output.png --rendered

# With white background
pyascii-maker image.jpg --rendered -o out.jpg --bg white

# ASCII text file
pyascii-maker image.jpg -o output.txt

Character sets

pyascii-maker image.jpg -c blocks
pyascii-maker image.jpg -c binary
pyascii-maker image.jpg -c matrix
pyascii-maker image.jpg --custom-chars "░▒▓█ "

Text-only ASCII art

pyascii-maker --text "HELLO" -f doom
pyascii-maker --list-fonts

Batch processing

pyascii-maker --folder ./images -o ./output

GIF and video

pyascii-maker animation.gif
pyascii-maker video.mp4

Advanced options

# RGB channel limiting
pyascii-maker image.jpg --rgb-cap 100,200,255

# Color enhancement
pyascii-maker image.jpg --saturation 2.0 --brightness 1.2

# Custom font for rendered images
pyascii-maker image.jpg --custom-font /path/to/font.ttf

# Add a banner
pyascii-maker image.jpg --label "DAISY" --theme cyan

CLI Reference

Option Description Default
-w, --width Output width in characters 80
-c, --char-set Character set style standard
--custom-chars Custom character string -
--contrast Contrast multiplier 1.0
--brightness Brightness multiplier 1.0
--saturation Saturation for rendered images 1.0
--invert Invert brightness mapping False
--rgb-cap Cap RGB channels as R,G,B -
--char-size Font size for rendered image 15
--char-width Pixel width per character 10
--char-height Pixel height per character 18
--scale-factor Downscale factor 0.09
--custom-font Path to custom .ttf/.otf font -
--bg-color Background color (hex or name) black
--rendered Render ASCII as image file False
-o, --output Output file path -
--animate Animate with shimmer effect False
--label Add ASCII text banner -
--font, -f Pyfiglet font for banner slant
--theme Color theme for banners cyan
--folder Batch process folder -

Supported Formats

  • Images: jpg, jpeg, png, bmp, webp, tiff, tif
  • Animated: gif
  • Video: mp4, avi, mov, mkv, webm (requires opencv-python-headless)
  • Export: txt, html, png, jpg, bmp

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyascii_maker-0.1.0.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyascii_maker-0.1.0-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file pyascii_maker-0.1.0.tar.gz.

File metadata

  • Download URL: pyascii_maker-0.1.0.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for pyascii_maker-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d7976b6a1c4ae97798cc765832ad20a78c5b8fb97aa21991d65073870b07e4fb
MD5 04ce7c26aa15abfd4329661dfc184af0
BLAKE2b-256 44c306b06733d1eab939dfdbf909b98cd789b525d1ad3222bb18671757e21355

See more details on using hashes here.

File details

Details for the file pyascii_maker-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyascii_maker-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for pyascii_maker-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f9694376c894f138becc1f2f4f6c8b842fdfea54090a9ff1cb0d5d5d369853e9
MD5 9e4cf00b27a75d29fb9c48a0e31707d8
BLAKE2b-256 27fe580d107748bafb84d62aa938ac28ecfee7cdd4b06a5f93cb565ab0f14725

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page