LinuxCommandLibrary

ascii-image-converter

Transform images into ASCII art for terminal display.

TLDR

Convert image to ASCII

$ ascii-image-converter [image.png]
copy
Convert with color
$ ascii-image-converter -C [image.png]
copy
Convert with specific width
$ ascii-image-converter -W [80] [image.png]
copy
Save to file
$ ascii-image-converter [image.png] > [output.txt]
copy
Use custom characters
$ ascii-image-converter -c " .:-=+*#%@" [image.png]
copy

SYNOPSIS

ascii-image-converter [-W width] [-C] [-c chars] [options] image

DESCRIPTION

ascii-image-converter transforms images into ASCII art. It analyzes pixel brightness and maps values to ASCII characters, creating text representations of images viewable in terminals.
The tool supports various image formats and can produce colored output using ANSI escape codes.

PARAMETERS

-W width

Output width in characters
-H height
Output height in characters
-C, --color
Enable colored output
-c chars
Custom character set (dark to light)
-b, --braille
Use Braille characters
-f, --full
Full block characters
-n, --negative
Invert colors
--dither
Apply dithering

CAVEATS

Output quality depends on terminal font and size. Colored output requires terminal with ANSI support. Wide images need large terminal widths.

HISTORY

ascii-image-converter is a modern Go-based tool for ASCII art generation, providing more features than traditional tools like jp2a.

SEE ALSO

jp2a(1), libcaca(1), img2txt(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community