mirror of
git://git.acid.vegas/archive.git
synced 2024-11-28 11:06:37 +00:00
.. | ||
Makefile | ||
p2u.c | ||
README.md | ||
screenshot.png | ||
stb_image_resize.h | ||
stb_image.h |
p2u
Convert JPG/GIF/PNG/PSD/TIFF/etc to ANSI and mIRC art
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.