memegen

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2022 License: ISC Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Caption

func Caption(w, h int, text string) (image.Image, image.Point)

Caption makes an iFunny-like caption meant to have another image overlayed onto it. The returned image and point are meant to be used as dest and sp for a call to draw.Draw with draw.Over as the op.

func Impact

func Impact(m draw.Image, top, bot string)

func Motivate

func Motivate(w, h int, top, bot string) (image.Image, image.Point)

Motivate makes a "motivational meme" frame meant to have another image overlayed onto it. The returned image and point are meant to be used as dest and sp for a call to draw.Draw with draw.Over as the op.

Types

This section is empty.

Jump to

Keyboard shortcuts

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