/im2ansi

Convert images into ANSI art (TXT & SVG)

Primary LanguageVMIT LicenseMIT

im2ansi

im2ansi is a tool for turning images into ANSI art as seen above.

Installation

Go to Releases and download the appropiate executable or install it via V:

v install --git https://github.com/phoenixr-codes/im2ansi

Building

Building requires a V compiler.

v .

Example Usage

Show help

im2ansi --help

Genrate an ANSI art from image.png of size 30 with seed 123 and character set {P,I,K,A,C,H,U}

im2ansi -s 30 --path image.png --seed 123 -c PIKACHU > output.ansi

Generate an ANSI art as SVG from image.jpg of size 50 and enable debugging

im2ansi --path image.jpg -s 50 --format svg --log DEBUG > output.svg