summaryrefslogtreecommitdiff
path: root/utilities
diff options
context:
space:
mode:
authorCristy <urban-warrior@imagemagick.org>2018-05-26 09:47:30 -0400
committerCristy <urban-warrior@imagemagick.org>2018-05-26 09:47:30 -0400
commitb2f652ac619454e706697089b43b9ce44166292c (patch)
tree8f35771c8d1e9c2f84c16a8d0d80eb44d31c844c /utilities
parentb1716d6c581333532a841d524e9c8bc2a6256227 (diff)
downloadImageMagick-b2f652ac619454e706697089b43b9ce44166292c.tar.gz
...
Diffstat (limited to 'utilities')
-rw-r--r--utilities/compare.1.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/utilities/compare.1.in b/utilities/compare.1.in
index 4a722e313..e7611e1ac 100644
--- a/utilities/compare.1.in
+++ b/utilities/compare.1.in
@@ -97,7 +97,9 @@ Miscellaneous Options:
By default, the image format of `file' is determined by its magic number. To specify a particular image format, precede the filename with an image format name and a colon (i.e. ps:image) or specify the image type as the filename suffix (i.e. image.ps). Specify 'file' as '-' for standard input or output.
-The compare program returns 2 on error otherwise 0 if the images are similar or 1 if they are dissimilar as defined by the metric and fuzz. The normalized cross correlation error metric is an exception. For this metric, 1 is interpreted as two identical images.
+Two images are considered similar if their difference according to the specified metric and fuzz value is 0, with the exception of the normalized cross correlation metric (NCC), where two images are considered similar when their normalized cross correlation is 1. The default metric is NCC.
+
+The compare program returns 2 on error, 0 if the images are similar, or a value between 0 and 1 if they are not similar.
.SH SEE ALSO
ImageMagick(1)