1
mirror of git://git.acid.vegas/archive.git synced 2024-11-28 11:06:37 +00:00
archive/art/p2u/README.md

33 lines
930 B
Markdown
Raw Normal View History

2023-06-24 04:55:09 +00:00
# p2u
Convert JPG/GIF/PNG/PSD/TIFF/etc to ANSI and mIRC art
![screenshot](https://git.trollforge.org/p2u/plain/screenshot.png)
## 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.