background

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: BSD-3-Clause Imports: 3 Imported by: 2

Documentation

Overview

Package background provides methods for manipulating an image's background.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddBackground

func AddBackground(im image.Image, bg_colour color.NRGBA) image.Image

AddBackground draws 'im' on to a new `image.Image` instance of the same dimensions but with a background filled with 'background_colour'.

Types

This section is empty.

Jump to

Keyboard shortcuts

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