1idiff(1) OpenImageIO idiff(1)
2
3
4
6 idiff -- compare two images
7
9 Usage: idiff [options] image1 image2
10
11
13 This program is part of the OpenImageIO (http://www.openimageio.org)
14 tool suite. Detailed documentation is available in pdf format with the
15 OpenImageIO distribution.
16
18 --help Print help message
19
20 --version
21 Print version and exit
22
23 -v Verbose status messages
24
25 -q Quiet (minimal messages)
26
27 -a Compare all subimages/miplevels
28
29 Thresholding and comparison options
30
31 -fail VAL
32 Failure absolute difference threshold (default: 1e-06)
33
34 -failrelative VAL
35 Failure relative threshold (default: 0)
36
37 -failpercent PERCENT
38 Allow this percentage of failures (default: 0)
39
40 -hardfail VAL
41 Fail if any one pixel exceeds this error (default: inf)
42
43 -allowfailures N
44 OK for this number of pixels to fail by any amount (de‐
45 fault: 0)
46
47 -warn VAL
48 Warning absolute difference threshold (default: 1e-06)
49
50 -warnrelative VAL
51 Warning relative threshold (default: 0)
52
53 -warnpercent PERCENT
54 Allow this percentage of warnings (default: 0)
55
56 -hardwarn VAL
57 Warn if any one pixel exceeds this error (default: inf)
58
59 -p Perform perceptual (rather than numeric) comparison
60
61 Difference image options
62
63 -o FILENAME
64 Output difference image
65
66 -od Output image only if nonzero difference
67
68 -abs Output image of absolute value, not signed difference
69
70 -scale FACTOR
71 Scale the output image by this factor (default: 1)
72
73
74
75 12 January 2023 idiff(1)