#sixel #image #libsixel

sys sixel-sys

FFI bindings to libsixel

4 releases (2 breaking)

Uses old Rust 2015

0.3.1 Jun 24, 2017
0.3.0 Jun 24, 2017
0.2.0 Jun 17, 2017
0.1.0 Jun 5, 2017

#3 in #libsixel

Download history 216/week @ 2024-09-23 295/week @ 2024-09-30 210/week @ 2024-10-07 302/week @ 2024-10-14 481/week @ 2024-10-21 465/week @ 2024-10-28 415/week @ 2024-11-04 278/week @ 2024-11-11 269/week @ 2024-11-18 362/week @ 2024-11-25 385/week @ 2024-12-02 447/week @ 2024-12-09 466/week @ 2024-12-16 342/week @ 2024-12-23 351/week @ 2024-12-30 355/week @ 2025-01-06

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

MIT license

5.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
~107K SLoC