#sixel #image #libsixel #image-format

sys sixel-sys-static

FFI bindings to libsixel, static linkage

1 unstable release

Uses old Rust 2015

0.3.2 Oct 12, 2023

#4 in #libsixel


Used in 3 crates (via sixel-bytes)

MIT license

4.5MB
34K SLoC

C 14K SLoC // 0.1% comments M4 9K SLoC // 0.2% comments Shell 8K SLoC // 0.2% comments Rust 1.5K SLoC // 0.0% comments C++ 1K SLoC // 0.1% comments Python 513 SLoC // 0.3% comments Automake 373 SLoC Perl 99 SLoC // 0.1% comments Ruby 31 SLoC // 0.1% comments

Contains (autotools obfuscated code, 540KB) libsixel/configure, (autotools obfuscated code, 205KB) libsixel/examples/opengl/configure, (obscure autoconf code, 24KB) libsixel/configure.ac, (autotools obfuscated code, 1KB) configure, (obscure autoconf code, 3KB) libsixel/examples/opengl/configure.ac

sixel-sys: Rust FFI bindings for libsixel

Crates.io License: MIT

The sixel-sys crate provides delcarations and linkage for the libsixel C library. This crate does not provide higher-level abstractions over the libsixel library.


lib.rs:

Bindings to libsixel

libsixel is an encoder/decoder implementation for DEC SIXEL graphics

SIXEL is one of image formats for printer and terminal imaging introduced by Digital Equipment Corp. (DEC). Its data scheme is represented as a terminal-friendly escape sequence. So if you want to view a SIXEL image file, all you have to do is "cat" it to your terminal.

For additional information, please check its repo

Dependencies

~0–10MB
~106K SLoC