Skip to content

junjihashimoto/sixel

Repository files navigation

SIXEL Library for Haskell

SIXEL, short for "six pixels", is a bitmap graphics format supported by terminals and printers from DEC. It can show graphics in a terminal emulator.

libsixel provides various demos using SIXEL.

This library is developed for displaying images on ghci.

Usage

This library provides "Show-intances of Sixel-Commands" and "ToSixel type class to change image data into Sixel-Cmmands". To render image data on ghci, just run 'toSixel image-data'. 'putImage' is a wrapper of "readImage 'image-file' >>= putStr.show.toSixel".

See following demo.

demo

Terminal requirements

For using sixel, see terminal requirements of libsixel.

This library supports OSC-1337, too. OSC-1337 is available for iterm2 and hterm of crostini.

demo

References

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published