imgdiff

command module
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2019 License: MIT Imports: 4 Imported by: 0

README

imgdiff - cli tool to calculate difference between images. Results are stable for next transformations: "scale-up/scale-down", color adjustment, quality reduce Returns % of difference

Thanks https://github.com/Nr90/imgsim/ for Average and Difference hash calculations

Install

go get -u github.com/AskAlexSharov/imgdiff

Use

imgdiff ./test-png-original.png ./test-png-damaged.png
Difference: 3%

Or you can use URL of image

imgdiff https://urloffile.com/file1.jpg https://urloffile.com/file2.jpg
Difference: 0% 

Features

  • JPEG
  • PNG
  • Local files and download from Url

License

imgdiff is MIT licensed

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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