3 releases

0.1.2 Feb 23, 2024
0.1.1 Sep 9, 2023
0.1.0 Sep 9, 2023

#102 in Graphics APIs

Download history 676/week @ 2024-07-19 942/week @ 2024-07-26 1026/week @ 2024-08-02 1540/week @ 2024-08-09 1205/week @ 2024-08-16 1277/week @ 2024-08-23 886/week @ 2024-08-30 786/week @ 2024-09-06 817/week @ 2024-09-13 818/week @ 2024-09-20 1184/week @ 2024-09-27 1493/week @ 2024-10-04 1412/week @ 2024-10-11 1005/week @ 2024-10-18 1121/week @ 2024-10-25 994/week @ 2024-11-01

4,702 downloads per month
Used in 25 crates (4 directly)

Custom license

155KB
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