internal

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EqualImages

func EqualImages(a, b image.Image) bool

EqualImages returns whether two images are identical, including theirs bounds.

func SameImages

func SameImages(a, b image.Image) bool

SameImages returns whether two images are identical. The images are allowed to have different bounds and still be the same.

func SizeOf

func SizeOf(img image.Image) (int, error)

SizeOf returns the JPEG size of an image in bytes.

func ToNRGBA

func ToNRGBA(img image.Image) *image.NRGBA

ToNRGBA converts an image.Image to an *image.NRGBA.

Types

This section is empty.

Jump to

Keyboard shortcuts

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