archive

- Random tools & helpful resources for IRC
git clone git://git.acid.vegas/archive.git
Log | Files | Refs | Archive

README.md (930B)

      1 # p2u
      2 
      3 Convert JPG/GIF/PNG/PSD/TIFF/etc to ANSI and mIRC art
      4 
      5 ![screenshot](https://git.trollforge.org/p2u/plain/screenshot.png)
      6 
      7 ## Installation
      8 
      9 ```
     10 make
     11 sudo make install
     12 ```
     13 
     14 ## Usage
     15 
     16 ```
     17 usage: p2u [options] input
     18 
     19 -b percent     Adjust brightness levels, default is 100.
     20 -f a|d|e|m     Specify output format ANSI, DOS (ANSI with
     21                CP437 characters), emoji or mirc.  Default is ANSI.
     22 -p m|v|x       Specify palette to use, mirc, VGA, or extended mirc,
     23                default is VGA.
     24 -s percent     Adjust saturation levels, default is 100.
     25 -t percent     Adjust transparency threshold of alpha channel,
     26                default is 50.
     27 -w width       Specify output width, default is the image width.
     28 ```
     29 
     30 By default the output will be the same width as the width in pixels of the
     31 original image.  Each character represents 1x2 pixel blocks.  Specifiying
     32 width will adjust the height to preserve the aspect ratio.