diffimage

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2020 License: MIT Imports: 8 Imported by: 1

README

go-diff-image

A diff tool for images.

Installation

$ go get -u github.com/schollz/go-diff-image/...

Usage

diff-image -o=diff.png before.png after.png
# open diff.png

Example

example

License

MIT License

Copyright (c) 2017 Naoki YAGUCHI

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiffImage

func DiffImage(img1, img2 image.Image, removeFront ...bool) (diffImg *image.RGBA, deletions int, insertions int, equals int)

Types

type HashLines

type HashLines struct {
	Lines []string
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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