tldr/pages/common/compare.md

13 lines
315 B
Markdown
Raw Normal View History

2019-11-29 19:09:25 +00:00
# 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}}`