tldr/pages/common/compare.md

315 B

compare

View the difference between 2 images. More information: https://imagemagick.org/script/compare.php.

  • Compare 2 images:

compare {{image1.png}} {{image2.png}} {{diff.png}}

  • Compare 2 images using a custom metric:

compare -verbose -metric {{PSNR}} {{image1.png}} {{image2.png}} {{diff.png}}