4 releases

0.1.3 Dec 20, 2024
0.1.2 Feb 23, 2024
0.1.1 Sep 9, 2023
0.1.0 Sep 9, 2023

#575 in Text processing

Download history 2090/week @ 2025-06-12 2808/week @ 2025-06-19 2141/week @ 2025-06-26 2269/week @ 2025-07-03 3154/week @ 2025-07-10 3728/week @ 2025-07-17 3848/week @ 2025-07-24 5275/week @ 2025-07-31 7364/week @ 2025-08-07 7551/week @ 2025-08-14 7943/week @ 2025-08-21 8268/week @ 2025-08-28 9582/week @ 2025-09-04 3693/week @ 2025-09-11 2997/week @ 2025-09-18 3493/week @ 2025-09-25

21,973 downloads per month
Used in 54 crates (6 directly)

Custom license

685KB
2.5K SLoC

icy_sixel

For my projects I needed a rust sixel implementation. Unfortunately there aren't any. There are several wrapper around the great libsixel library - but I do not want to struggle with another C dependency.

https://github.com/saitoha/libsixel

So I decided to just port the part I need to rust - and here it is.

I need it to save sixels in IcyDraw. I've my own sixel loading routines - but when I'm in the mood I'll port the library completely. I don't plan to support images in any way. There are better libraries for rust available. Just the plain data.

Note: The dither stuff may be obsolete, for now it's in. Thanks to Hayaki Saito and all people who made libsixel possible.

It's likely that all other code paths that I use contain bugs so every feature need to be tested against the original libsixel. The original C code is very good & understandable so it's easy to extend from here.

Contributions welcome - I just translated the minimum I need for my projects.

Code translated from libsixel revision 6a5be8b72d84037b83a5ea838e17bcf372ab1d5f

No runtime deps