mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-28 17:53:58 +00:00
Update cheatsheets
This commit is contained in:
18
compare
Normal file
18
compare
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
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>.
|
||||
|
||||
- Compare two images:
|
||||
|
||||
`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}}`
|
||||
Reference in New Issue
Block a user