Load static images and gifs and display in console output
- Static image support
- Animated GIF support
- Transparency
go get github.com/nfsarch33/console-image-loader
package main
import (
"fmt"
"github.com/nfsarch33/console-image-loader/pkg/console_image"
)
func main() {
// console_image.ShowImg() takes the image path param, change this to your image path.
if err := console_image.ShowImg("pkg/console_image/test_image/goku.gif"); err != nil {
fmt.Errorf("ShowImg() error = %v", err)
}
}