sixel: Sixel library to show images in a terminal emulator

[ bsd3, graphics, library, program ] [ Propose Tags ]

Sixel can show graphics on a terminal emulator. This library is developed to showing images on ghci.


[Skip to Readme]
Versions [faq] 0.1.0.0, 0.1.1.0, 0.1.1.1, 0.1.2.0, 0.1.2.1, 0.1.2.2, 0.1.2.3
Change log CHANGELOG.md
Dependencies base (>=4.7 && <5), base64-bytestring, bytestring, JuicyPixels, process, sixel, temporary, vector [details]
License BSD-3-Clause
Copyright 2020 Junji hashimoto
Author Junji Hashimoto
Maintainer junji.hashimoto@gmail.com
Category graphics
Home page https://github.com/junjihashimoto/sixel#readme
Uploaded by junjihashimoto at 2020-05-24T19:21:50Z
Distributions NixOS:0.1.2.3
Executables sixel-exe
Downloads 422 total (19 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2020-05-24 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for sixel-0.1.2.3

[back to package description]

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