1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 22:02:09 +02:00
tldr/pages/common/magick-compare.md
Lena 80cc7a5af3
imagemagick: update pages (#12874)
* compare, convert, identify, import, mogrify, montage:
   move pages to subcommands of `magick`, create alias pages

* convert: add deprecation notice

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-06-03 13:40:59 +02:00

459 B

magick compare

Create a comparison image to visually annotate the difference between two images. See also: magick. More information: https://imagemagick.org/script/compare.php.

  • Compare two images:

magick compare {{path/to/image1.png}} {{path/to/image2.png}} {{path/to/diff.png}}

  • Compare two images using the specified metric:

magick compare -verbose -metric {{PSNR}} {{path/to/image1.png}} {{path/to/image2.png}} {{path/to/diff.png}}