imgdiff

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 License: MIT Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

imgdiff

test-and-build

This tool compares old and new versions of image files and generates color-coded image in a diff format.

sample diff image

This is based on the diff-image. Thanks to the wonderful @murooka's go-diff-image.

Install

Homebrew
brew install kemokemo/tap/imgdiff
Scoop

First, add my scoop-bucket.

scoop bucket add kemokemo-bucket https://github.com/kemokemo/scoop-bucket.git

Next, install this app by running the following.

scoop install imgdiff
Binary

Get the latest version from the release page, and download the archive file for your operating system/architecture. Unpack the archive, and put the binary somewhere in your $PATH.

Usage

$ imgdiff -h
Usage: imgdiff [<option>...] <old image> <new image>
  -h	display help
  -o string
    	output filename (default "diff.png")
  -v	display version

This tool supports the following image formats.

  • png
  • jpeg
  • gif
  • bmp
Example
$ imgdiff -o=diff/screen.png v1/screen.png v2/screen.png

License

MIT

Author

kemokemo

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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