mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-02 06:42:54 +00:00
19 lines
552 B
Plaintext
19 lines
552 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|