/go-termimg

Go terminal image package

Primary LanguageGoMIT LicenseMIT

go-termimg

Go Go Reference License

Go terminal image package

Supported

Protocols

Image Formats

  • PNG
  • JPEG
  • WEBP

Getting Started

go get github.com/blacktop/go-termimg

Usage

ti, err := termimg.Open("path/to/your/image.png")
if err != nil {
    log.Fatal(err)
}
defer ti.Close()

ti.Print()

imgcat demo tool

Install

go install github.com/blacktop/go-termimg/cmd/imgcat@latest

Usage

imgcat path/to/your/image.png

TODO

License

MIT Copyright (c) 2024 blacktop