xref: /libtiff-4.0.7/html/man/tiffcmp.1.html (revision fd935fb2)
1<html>
2<head>
3<meta name="generator" content="groff -Thtml, see www.gnu.org">
4<meta name="Content-Style" content="text/css">
5<title>TIFFCMP</title>
6</head>
7<body>
8
9<h1 align=center>TIFFCMP</h1>
10<a href="#NAME">NAME</a><br>
11<a href="#SYNOPSIS">SYNOPSIS</a><br>
12<a href="#DESCRIPTION">DESCRIPTION</a><br>
13<a href="#OPTIONS">OPTIONS</a><br>
14<a href="#BUGS">BUGS</a><br>
15<a href="#SEE ALSO">SEE ALSO</a><br>
16
17<hr>
18<!-- Creator     : groff version 1.18 -->
19<!-- CreationDate: Mon Oct  7 17:36:39 2002 -->
20<a name="NAME"></a>
21<h2>NAME</h2>
22<!-- INDENTATION -->
23<p><table width="100%" border=0 rules="none" frame="void"
24       cols="2" cellspacing="0" cellpadding="0">
25<tr valign="top" align="left">
26<td width="8%"></td>
27<td width="91%">
28<p>tiffcmp &minus; compare two <small>TIFF</small> files</p>
29</td>
30</table></p>
31<a name="SYNOPSIS"></a>
32<h2>SYNOPSIS</h2>
33<!-- INDENTATION -->
34<p><table width="100%" border=0 rules="none" frame="void"
35       cols="2" cellspacing="0" cellpadding="0">
36<tr valign="top" align="left">
37<td width="8%"></td>
38<td width="91%">
39<p><b>tiffcmp</b> [ <i>options</i> ] <i>file1.tif
40file2.tif</i></p>
41</td>
42</table></p>
43<a name="DESCRIPTION"></a>
44<h2>DESCRIPTION</h2>
45<!-- INDENTATION -->
46<p><table width="100%" border=0 rules="none" frame="void"
47       cols="2" cellspacing="0" cellpadding="0">
48<tr valign="top" align="left">
49<td width="8%"></td>
50<td width="91%">
51<p><i>Tiffcmp</i> compares the tags and data in two files
52created according to the Tagged Image File Format, Revision
536.0. The schemes used for compressing data in each file are
54immaterial when data are compared&minus;data are compared on
55a scanline-by-scanline basis after decompression. Most
56directory tags are checked; notable exceptions are:
57<i>GrayResponseCurve</i>, <i>ColorResponseCurve</i>, and
58<i>ColorMap</i> tags. Data will not be compared if any of
59the <i>BitsPerSample</i>, <i>SamplesPerPixel</i>, or
60<i>ImageWidth</i> values are not equal. By default,
61<i>tiffcmp</i> will terminate if it encounters any
62difference.</p>
63</td>
64</table></p>
65<a name="OPTIONS"></a>
66<h2>OPTIONS</h2>
67<!-- TABS -->
68<p><table width="100%" border=0 rules="none" frame="void"
69       cols="5" cellspacing="0" cellpadding="0">
70<tr valign="top" align="left">
71<td width="10%"></td>
72<td width="3%">
73
74<p><b>&minus;l</b></p>
75</td>
76<td width="5%"></td>
77<td width="80%">
78
79<p>List each byte of image data that differs between the
80files.</p>
81</td>
82<td width="0%">
83</td>
84<tr valign="top" align="left">
85<td width="10%"></td>
86<td width="3%">
87
88<p><b>&minus;t</b></p>
89</td>
90<td width="5%"></td>
91<td width="80%">
92
93<p>Ignore any differences in directory tags.</p>
94</td>
95<td width="0%">
96</td>
97</table></p>
98<a name="BUGS"></a>
99<h2>BUGS</h2>
100<!-- INDENTATION -->
101<p><table width="100%" border=0 rules="none" frame="void"
102       cols="2" cellspacing="0" cellpadding="0">
103<tr valign="top" align="left">
104<td width="8%"></td>
105<td width="91%">
106<p>Tags that are not recognized by the library are not
107compared; they may also generate spurious diagnostics.</p>
108<!-- INDENTATION -->
109<p>The image data of tiled files is not compared, since the
110TIFFReadScanline() function is used. A error will be
111reported for tiled files.</p>
112<!-- INDENTATION -->
113<p>The pixel and/or sample number reported in differences
114may be off in some exotic cases.</p>
115</td>
116</table></p>
117<a name="SEE ALSO"></a>
118<h2>SEE ALSO</h2>
119<!-- INDENTATION -->
120<p><table width="100%" border=0 rules="none" frame="void"
121       cols="2" cellspacing="0" cellpadding="0">
122<tr valign="top" align="left">
123<td width="8%"></td>
124<td width="91%">
125<p><i>pal2rgb</i>(1), <i>tiffinfo</i>(1), <i>tiffcp</i>(1),
126<i>tiffmedian</i>(1), <i>libtiff</i>(3)</p>
127</td>
128</table></p>
129<hr>
130</body>
131</html>
132