image

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: Unlicense Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Crop

func Crop(img image.RGBA64Image) image.Rectangle

Crop returns the bounds of the smallest rectangle that contains all the image's pixels where the its alpha is non-zero.

Types

This section is empty.

Directories

Path Synopsis
Package alpha4 implements an image.Alpha replacement with compact 4-bit alpha values.
Package alpha4 implements an image.Alpha replacement with compact 4-bit alpha values.
package ninepatch contains an image.Image implementation of stretchable images in 9-patch format.
package ninepatch contains an image.Image implementation of stretchable images in 9-patch format.
Package paletted implements a image.Paletted replacement with a more compact encoding.
Package paletted implements a image.Paletted replacement with a more compact encoding.
Package rgb565 contains an image.RGBA64Image implementation of a 16-bit RGB565 image.
Package rgb565 contains an image.RGBA64Image implementation of a 16-bit RGB565 image.

Jump to

Keyboard shortcuts

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