compare: add page (#3632)

client-spec/clarity
Valentin Vetter 2019-11-29 20:09:25 +01:00 committed by Lucas Gabriel Schneider
parent 270a93b9de
commit c39ab84d4b
1 changed files with 12 additions and 0 deletions

12
pages/common/compare.md Normal file
View File

@ -0,0 +1,12 @@
# compare
> View the difference between 2 images.
> More information: <https://imagemagick.org/script/compare.php>.
- Compare 2 images:
`compare {{image1.png}} {{image2.png}} {{diff.png}}`
- Compare 2 images using a custom metric:
`compare -verbose -metric {{PSNR}} {{image1.png}} {{image2.png}} {{diff.png}}`