#sixel #image #libsixel

sys sixel-sys

FFI bindings to libsixel

6 releases (breaking)

Uses old Rust 2015

0.5.0 Feb 22, 2025
0.4.0 Feb 18, 2025
0.3.1 Jun 24, 2017
0.2.0 Jun 17, 2017
0.1.0 Jun 5, 2017

#6 in #sixel

Download history 265/week @ 2024-11-17 357/week @ 2024-11-24 387/week @ 2024-12-01 450/week @ 2024-12-08 476/week @ 2024-12-15 326/week @ 2024-12-22 342/week @ 2024-12-29 432/week @ 2025-01-05 390/week @ 2025-01-12 400/week @ 2025-01-19 346/week @ 2025-01-26 431/week @ 2025-02-02 390/week @ 2025-02-09 484/week @ 2025-02-16 503/week @ 2025-02-23 405/week @ 2025-03-02

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

MIT license

5MB
35K SLoC

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

Contains (autotools obfuscated code, 605KB) libsixel/configure, (autotools obfuscated code, 205KB) libsixel/examples/opengl/configure, (obscure autoconf code, 25KB) 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