mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 21:22:09 +02:00
12 lines
315 B
Markdown
12 lines
315 B
Markdown
# 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}}`
|