img

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoSrc    = errors.New("requires a source path to a directory")
	ErrAnsiLove = errors.New("cannot access shared libraries: libansilove.so.1")
	ErrDest     = errors.New("dest argument requires a destination filename path")
)

Functions

func Generate

func Generate(name, uuid string, amiga bool) error

Generate a collection of site images.

func MakePng

func MakePng(src, dest string, amiga bool) (string, error)

ToPng converts any supported format to a compressed PNG image. helpful: https://www.programming-books.io/essential/go /images-png-jpeg-bmp-tiff-webp-vp8-gif-c84a45304ec3498081c67aa1ea0d9c49.

func Reduce

func Reduce(src, uuid string) (string, error)

Reduce the length of the textfile so it can be parsed by AnsiLove.

Types

This section is empty.

Jump to

Keyboard shortcuts

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