console-image-loader

command module
v0.0.0-...-12f60f6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2022 License: MIT Imports: 2 Imported by: 0

README

Console Image Loader

Load static images and gifs and display in console output

Features
  • Static image support
  • Animated GIF support
  • Transparency
Installation
Download package to your project
go get github.com/nfsarch33/console-image-loader
Usage
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)
	}
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL