mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-01 10:54:18 +00:00
Update cheatsheets
This commit is contained in:
12
tldr/compare
12
tldr/compare
@@ -5,14 +5,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# compare
|
||||
|
||||
> Create a comparison image to visually annotate the difference between two images.
|
||||
> Part of ImageMagick.
|
||||
> More information: <https://imagemagick.org/script/compare.php>.
|
||||
> This command is an alias of `magick compare`.
|
||||
|
||||
- Compare two images:
|
||||
- View documentation for the original command:
|
||||
|
||||
`compare {{path/to/image1.png}} {{path/to/image2.png}} {{path/to/diff.png}}`
|
||||
|
||||
- Compare two images using the specified metric:
|
||||
|
||||
`compare -verbose -metric {{PSNR}} {{path/to/image1.png}} {{path/to/image2.png}} {{path/to/diff.png}}`
|
||||
`tldr magick compare`
|
||||
|
||||
Reference in New Issue
Block a user