app img2irc

A tool that allows converting images to IRC formatting codes

4 releases (2 breaking)

0.3.0 Oct 1, 2022
0.2.0 Jun 26, 2022
0.1.1 Jun 20, 2022
0.1.0 Jun 19, 2022

#680 in Images

AGPL-3.0-or-later

23KB
359 lines

About

img2irc is a tool that allows converting images to IRC formatting codes.

Usage

Usage: img2irc [OPTIONS] <IMAGE> [TARGET]

Arguments:
  <IMAGE>   The path to the input image
  [TARGET]  The path to the output text

Options:
  -c, --colour-type <TYPE>   Whether to emit basic, extended, or RGB colours [default: basic]
  -e, --escape-type <TYPE>   Whether to emit raw control characters, InspIRCd config escape sequences, or InspIRCd MOTD escape sequences [default: control]
  -H, --max-height <HEIGHT>  The maximum height of the output text
  -w, --max-width <WIDTH>    The maximum width of the output text
  -t, --min-alpha <WIDTH>    The minimum alpha level to treat as a coloured tile [default: 0]
  -h, --help                 Print help information
  -V, --version              Print version information

License

This project is licensed under version 3 or later of the GNU Affero General Public License.

Dependencies

~7MB
~97K SLoC