annotate

package
v2.0.0-...-b9259f6 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2025 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Annotate

func Annotate(text, fileName, location string, annoPct float64) (ret string, err error)

Annotate reads an image and adds a text annotation to it either at the top (location == "top") or the bottom (otherwise). The annotation is placed on an appropriately colored background and rendered in a text color that ensures good contrast and readability.

Types

This section is empty.

Jump to

Keyboard shortcuts

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