image

package
v0.0.0-...-623e229 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Pacakge image provides routines to load and compare images.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareImages

func CompareImages(img1, img2 image.Image) (uint64, error)

CompareImages compares two images and returns their difference.

func LoadReferenceImage

func LoadReferenceImage(path string, scaleup int) (image.Image, error)

LoadReferenceImage loads a reference image from disc and scales it using nearest-neighbors by a given factor.

func ParseBMPURI

func ParseBMPURI(u string) (image.Image, error)

ParseBMPURI parses a dataURI encoded BMP.

Types

This section is empty.

Jump to

Keyboard shortcuts

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