export

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Font []byte

Functions

func ASCIIFramesToGIF

func ASCIIFramesToGIF(frames []ASCIIGIFFrame, outPath string, opt ASCIIExportOptions) error

func ASCIIToPNG

func ASCIIToPNG(runeArray [][]rune, colorArray [][]color.NRGBA, outPath string, opt ASCIIExportOptions) error

func ASCIItToTxT

func ASCIItToTxT(outPath string, exportString string) error

Types

type ASCIIExportOptions

type ASCIIExportOptions struct {
	FontSize     int
	DPI          int
	BG           color.Color
	FG           color.Color
	FontTTFPath  string
	TargetAspect float64
	RenderColor  bool
}

type ASCIIGIFFrame

type ASCIIGIFFrame struct {
	FrameRunes  [][]rune
	Duration    time.Duration
	FrameColors [][]color.NRGBA
}

Jump to

Keyboard shortcuts

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