All Projects → mattn → go-sixel

mattn / go-sixel

Licence: MIT License
No description or website provided.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to go-sixel

upp-components
A collection of packages for U++ framework.
Stars: ✭ 36 (-67.86%)
Mutual labels:  sixel, sixel-graphics
contour
Modern C++ Terminal Emulator
Stars: ✭ 761 (+579.46%)
Mutual labels:  sixel-graphics
sixel
Mirror of "sixel" original version (kmiya's sixel). The origin of libsixel.
Stars: ✭ 45 (-59.82%)
Mutual labels:  sixel
Libsixel
A SIXEL encoder/decoder implementation derived from kmiya's sixel (https://github.com/saitoha/sixel).
Stars: ✭ 1,824 (+1528.57%)
Mutual labels:  sixel
Lsix
Like "ls", but for images. Shows thumbnails in terminal using sixel graphics.
Stars: ✭ 2,635 (+2252.68%)
Mutual labels:  sixel-graphics

go-sixel

Installation

$ go get github.com/mattn/go-sixel

You can install gosr (go sixel renderer), gosd (go sixel decoder) with following installation instruction.

$ go get github.com/mattn/go-sixel/cmd/gosr
$ go get github.com/mattn/go-sixel/cmd/gosd

Usage

Encode

$ cat foo.png | gosr -

Decode

$ cat foo.drcs | gosd > foo.png

Use as library

img, _, _ := image.Decode(filename)
sixel.NewEncoder(os.Stdout).Encode(img)

License

MIT

Author

Yasuhiro Matsumoto (a.k.a mattn)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].