Show HN: CLI for image/video to ASCII art
A new Python library and CLI tool has been developed to convert images and videos into ASCII art with customizable settings. Users can adjust parameters like width, contrast, brightness, and character sets, or use default auto-contrast for quick results. The tool supports both command-line usage and integration as a Python library.
- ▪The tool converts image and video files into ASCII art with customizable styling options.
- ▪Users can set parameters including width, height, contrast, brightness, gamma, and character set.
- ▪Video conversion allows control over FPS, total frames, and output directory.
- ▪The library can be used via command line or imported directly into Python projects.
- ▪It requires Python 3.9+, setuptools 68+, and supports installation via pip from a local directory.
Opening excerpt (first ~120 words) tap to expand
ASCII Art Generator A small Python library and CLI for converting images and videos into ASCII art, with customizable styling. demo-1.mp4 Features Convert image files to ASCII text. Sample videos into ASCII frames, and set your desired FPS and total frames/animation length (starts from 0:00). Tune width, height, contrast, brightness, gamma, edge boost, character set, and resize kernel. Auto-contrast built in for great default results. Use as a command-line tool or import as a Python library. Requirements Python 3.9 or newer pip with PEP 517 / pyproject.toml build support setuptools 68 or newer Installation Clone/download this repo Navigate to the local folder and run the below: python3 -m pip install . or python -m pip install .
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at GitHub.