img

package
v0.0.0-...-7d986ab Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAlt

func NewAlt(asciiArtLines []string, l, h int, bgColorHex, fgColorHex, fontPath string, fontSize, xPtFactor, yPtFactor float64) []*image.Paletted

func NewBanner

func NewBanner(asciiArtLines []string, l, h int, bgColorHex, fgColorHex, fontPath string, fontSize, xPtFactor, yPtFactor float64) []*image.Paletted
func NewBlink(asciiArtLines []string, l, h int, bgColorHex, fgColorHex, fontPath string, fontSize, xPtFactor, yPtFactor float64) []*image.Paletted

func NewPng

func NewPng(asciiArtLines []string, l, h int, bgColorHex, fgColorHex, fontPath string, fontSize, xPtFactor, yPtFactor float64) *image.Paletted

func OutFilename

func OutFilename(text, ext string) string

func Side

func Side(n, offset int, fontSize, ptFactor float64, defaultSide int) int

func ToAsciiArt

func ToAsciiArt(text, figlet string) []string

func WriteGif

func WriteGif(w io.Writer, images []*image.Paletted, delay int) error

func WritePng

func WritePng(w io.Writer, image *image.Paletted) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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