gifmaker

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	FontSize         float64
	Dpi              float64
	Font             *truetype.Font
	Fg               string
	Bg               string
	TimeMarker       bool
	MarkerFontOffset float64
}

type GifMaker

type GifMaker interface {
	MakeGif(expires time.Time) (*bytes.Buffer, error)
}

func NewGifMaker

func NewGifMaker(g Config) (GifMaker, error)

Jump to

Keyboard shortcuts

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