imgdiff

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: MIT Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Threshold float64
	DiffImage bool
}

Options struct.

type Result

type Result struct {
	Equal           bool
	Image           image.Image
	DiffPixelsCount uint64
}

Result struct.

func Diff

func Diff(image1 image.Image, image2 image.Image, options *Options) *Result

Diff between two images.

Jump to

Keyboard shortcuts

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