#sixel #image #libsixel

sys sixel-sys

FFI bindings to libsixel

5 releases (3 breaking)

Uses old Rust 2015

new 0.4.0 Feb 18, 2025
0.3.1 Jun 24, 2017
0.3.0 Jun 24, 2017
0.2.0 Jun 17, 2017
0.1.0 Jun 5, 2017

#2 in #libsixel

Download history 472/week @ 2024-10-29 394/week @ 2024-11-05 264/week @ 2024-11-12 283/week @ 2024-11-19 380/week @ 2024-11-26 378/week @ 2024-12-03 491/week @ 2024-12-10 412/week @ 2024-12-17 347/week @ 2024-12-24 363/week @ 2024-12-31 440/week @ 2025-01-07 362/week @ 2025-01-14 364/week @ 2025-01-21 402/week @ 2025-01-28 421/week @ 2025-02-04 382/week @ 2025-02-11

1,628 downloads per month
Used in 15 crates (3 directly)

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 1K 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, (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