compare,convert,identify,import,magick,mogrify,montage: update page (#10850)

This commit is contained in:
Lena
2023-10-05 08:52:40 +02:00
committed by GitHub
parent 06af42cd0f
commit 1bec8f7247
7 changed files with 48 additions and 45 deletions

View File

@@ -1,12 +1,13 @@
# compare
> View the difference between 2 images.
> Create a comparison image to visually annotate the difference between two images.
> Part of ImageMagick.
> More information: <https://imagemagick.org/script/compare.php>.
- Compare 2 images:
- Compare two images:
`compare {{image1.png}} {{image2.png}} {{diff.png}}`
`compare {{path/to/image1.png}} {{path/to/image2.png}} {{path/to/diff.png}}`
- Compare 2 images using a custom metric:
- Compare two images using the specified metric:
`compare -verbose -metric {{PSNR}} {{image1.png}} {{image2.png}} {{diff.png}}`
`compare -verbose -metric {{PSNR}} {{path/to/image1.png}} {{path/to/image2.png}} {{path/to/diff.png}}`