Help us shape the future of Go! Take the 2026 Go Developer Survey

images

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package images contains protocol-independent artwork helpers.

Index

Constants

This section is empty.

Variables

View Source
var ErrDimensions = errors.New("invalid image dimensions")

Functions

func Blur

func Blur(src image.Image) (*image.NRGBA, error)

Blur returns a 3x3 box blur, clamping edges to the source image.

func Resize

func Resize(src image.Image, width, height int) (*image.NRGBA, error)

Resize returns a nearest-neighbour copy with explicit bounded dimensions.

func Tag

func Tag(data []byte) string

Tag changes whenever the input artwork bytes change.

Types

This section is empty.

Jump to

Keyboard shortcuts

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