#convert-images #image #sixel #cat #stdout #prints #grapics

app picat

Picat (picture cat) converts image files to sixel grapics, and prints them to stdout

1 unstable release

0.1.0 Dec 2, 2021

#15 in #sixel

MIT and GPL-3.0-or-later

45KB
257 lines

picat - picture cat

Picat converts images to sixel graphics, and outputs them to stdout. The tool achieves high quality output by making use of the libimagequant library for converting RGBA images to the sixel palette.

Not all terminals support sixels. I have personally tested picat in xterm on Xorg and foot on Wayland.

USAGE:
    picat [OPTIONS] [<FILE>...]

    If FILE is omitted, picat reads a single image from stdin.

OPTIONS:
    -w, --width <pixels>    Output image width in pixels
    -h, --help              Display this help page

Dependencies

~11MB
~53K SLoC