Skip to content

knivey/p2u

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Rehosting p2u after trollforge died

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published