Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mqudsi/imgcompare
A utility to visually compare images
https://github.com/mqudsi/imgcompare
Last synced: 6 days ago
JSON representation
A utility to visually compare images
- Host: GitHub
- URL: https://github.com/mqudsi/imgcompare
- Owner: mqudsi
- License: mit
- Created: 2017-06-15T04:32:11.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-19T15:38:36.000Z (over 7 years ago)
- Last Synced: 2024-10-12T00:26:14.868Z (about 1 month ago)
- Language: Rust
- Size: 5.86 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## `imgcompare`
`imgcompare` is a visual diff utility for images; useful for quickly determining whether or not two images are pixel-identical. Comparisons are performed in the `rgba` color space, support for explicitly specifying the comparison domain will be coming in a future version (see below).
### Usage
Usage is straightforward. Given two image files of supported formats (for example, `image1.png` and `image2.jpg`), the command `imgcompare image1.png image2.jpg` can be used to determine whether the two images are pixel-for-pixel identical. An exit code of `0` means the images are identical, while a non-zero exit code indicates that one or more differing pixels were found between the provided images.
### Installation
`imgcompare` is available for installation on supported platforms via the `cargo` package manager:
`> cargo install imgcompare`
Pre-compiled, signed binaries for select platforms are available from the imgcompare homepage at https://neosmart.net/imgcompare/
### Future Development
Currently, `imgcompare` is a binary diff utility in the sense that it only returns whether or not two images are identical. `imgcompare` does not currently support "perceptual hashing," and does not (yet) tell you just how dissimilar two images may be.
* Perceptual hashing/fuzzy diff
* Support for more filetypes
* Support for explicitly providing color space used for pixel comparison### License & Credits
`imgcompare` is open source, published under the terms of the MIT license. `imgcompare` is developed and maintained by Mahmoud Al-Qudsi \ of NeoSmart Technologies \. `imgcompare` would not be possible without the existence of countless other open source libraries, graciously published for the community to benefit from and build upon.