1
mirror of git://git.acid.vegas/archive.git synced 2024-11-25 09:36:38 +00:00
archive/art/p2u/README.md
2023-06-24 00:55:09 -04:00

930 B

p2u

Convert JPG/GIF/PNG/PSD/TIFF/etc to ANSI and mIRC art

screenshot

Installation

make
sudo make install

Usage

usage: p2u [options] input

-b percent     Adjust brightness levels, default is 100.
-f a|d|e|m     Specify output format ANSI, DOS (ANSI with
               CP437 characters), emoji or mirc.  Default is ANSI.
-p m|v|x       Specify palette to use, mirc, VGA, or extended mirc,
               default is VGA.
-s percent     Adjust saturation levels, default is 100.
-t percent     Adjust transparency threshold of alpha channel,
               default is 50.
-w width       Specify output width, default is the image width.

By default the output will be the same width as the width in pixels of the original image. Each character represents 1x2 pixel blocks. Specifiying width will adjust the height to preserve the aspect ratio.