mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
14 lines
459 B
Markdown
14 lines
459 B
Markdown
![]() |
# 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}}`
|