Debian Codegraph @

/

debian golang-github-mattn-go-sixel 0.0.5-1debian golang-github-mattn-go-sixel-dev gomod github.com/mattn/go-sixel debiangogoinimakefilemarkdownshellyaml 19 files · 200 symbols
View dependency graph

Depends on

README (full)

go-sixel

DRCS Sixel Encoder/Decoder

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
CommandDescription
gosrImage renderer
gosdDecoder to png
goscatRender cats
gosgifRender animation GIF
goslRun SL

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)

dir _example/
dir cmd/
dir debian/
file LICENSE
file README.md
file go.mod
file go.sum
file sixel.go