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.
- Host: GitHub
- URL: https://github.com/ctrlcctrlv/sixel_decode
- Owner: ctrlcctrlv
- License: apache-2.0
- Created: 2021-05-30T10:23:08.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-30T10:25:12.000Z (about 5 years ago)
- Last Synced: 2025-02-18T06:13:46.629Z (over 1 year ago)
- Language: C
- Size: 435 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `sixel_decode`

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).