An open API service indexing awesome lists of open source software.

https://github.com/ctrlcctrlv/sixel_decode

This utility dumps the palette of a file that is sixel encoded and outputs an RGB bitmap with no header.
https://github.com/ctrlcctrlv/sixel_decode

Last synced: 8 months ago
JSON representation

This utility dumps the palette of a file that is sixel encoded and outputs an RGB bitmap with no header.

Awesome Lists containing this project

README

          

# `sixel_decode`

![](https://raw.githubusercontent.com/ctrlcctrlv/sixel_decode/main/doc/screenshot.png)

This utility dumps the palette of a file that is sixel encoded and outputs an RGB bitmap with no header.

If output specified, you'll get width and height on stdout separated by x, like `32x32`.

If you have ImageMagick or GraphicsMagick, you could get a PNG out like this:

```bash
convert -size 971x747 -depth 8 /tmp/abbr2.rgb /tmp/abbr2.png
```

## Compiling

Run `make`. Obviously you need [`libsixel`](https://github.com/saitoha/libsixel).