compare

Create a comparison image to visually annotate the difference between two images. Part of ImageMagick. More information: <https://imagemagick.org/script/compare.php>.

Install

All systems
curl cmd.cat/compare.sh
Alpine
apk add imagemagick6
Arch Arch Linux
pacman -S imagemagick6
Fedora
dnf install ImageMagick-1
Docker
docker run cmd.cat/compare compare powered by Commando

Create a comparison image to visually annotate the difference between two images. Part of ImageMagick. More information: <https://imagemagick.org/script/compare.php>.

  • Compare two images:
    compare path/to/image1.png path/to/image2.png path/to/diff.png
  • Compare two images using the specified metric:
    compare -verbose -metric PSNR path/to/image1.png path/to/image2.png path/to/diff.png

© tl;dr; authors and contributors