#sixel #libsixel #image

sys sixel-sys-static

FFI bindings to libsixel, static linkage

1 unstable release

Uses old Rust 2015

0.3.2 Oct 12, 2023

#752 in Graphics APIs

36 downloads per month
Used in 2 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

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–13MB
~134K SLoC