xref: /libtiff-4.0.7/html/man/tiffcmp.1.html (revision f714980a)
1<!-- Creator     : groff version 1.19.2 -->
2<!-- CreationDate: Mon Jan  2 17:41:56 2006 -->
3<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
4"http://www.w3.org/TR/html4/loose.dtd">
5<html>
6<head>
7<meta name="generator" content="groff -Thtml, see www.gnu.org">
8<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
9<meta name="Content-Style" content="text/css">
10<style type="text/css">
11       p     { margin-top: 0; margin-bottom: 0; }
12       pre   { margin-top: 0; margin-bottom: 0; }
13       table { margin-top: 0; margin-bottom: 0; }
14</style>
15<title>TIFFCMP</title>
16
17</head>
18<body>
19
20<h1 align=center>TIFFCMP</h1>
21
22<a href="#NAME">NAME</a><br>
23<a href="#SYNOPSIS">SYNOPSIS</a><br>
24<a href="#DESCRIPTION">DESCRIPTION</a><br>
25<a href="#OPTIONS">OPTIONS</a><br>
26<a href="#BUGS">BUGS</a><br>
27<a href="#SEE ALSO">SEE ALSO</a><br>
28
29<hr>
30
31
32<a name="NAME"></a>
33<h2>NAME</h2>
34
35
36<p style="margin-left:11%; margin-top: 1em">tiffcmp &minus;
37compare two <small>TIFF</small> files</p>
38
39<a name="SYNOPSIS"></a>
40<h2>SYNOPSIS</h2>
41
42
43<p style="margin-left:11%; margin-top: 1em"><b>tiffcmp</b>
44[ <i>options</i> ] <i>file1.tif file2.tif</i></p>
45
46<a name="DESCRIPTION"></a>
47<h2>DESCRIPTION</h2>
48
49
50<p style="margin-left:11%; margin-top: 1em"><i>Tiffcmp</i>
51compares the tags and data in two files created according to
52the Tagged Image File Format, Revision 6.0. The schemes used
53for compressing data in each file are immaterial when data
54are compared&minus;data are compared on a
55scanline-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
64<a name="OPTIONS"></a>
65<h2>OPTIONS</h2>
66
67
68<table width="100%" border=0 rules="none" frame="void"
69       cellspacing="0" cellpadding="0">
70<tr valign="top" align="left">
71<td width="11%"></td>
72<td width="3%">
73
74
75
76<p style="margin-top: 1em" valign="top"><b>&minus;l</b></p> </td>
77<td width="8%"></td>
78<td width="78%">
79
80
81<p style="margin-top: 1em" valign="top">List each byte of
82image data that differs between the files.</p></td>
83</table>
84
85<p style="margin-left:11%;"><b>&minus;z number</b></p>
86
87<p style="margin-left:22%;">List specified number of image
88data bytes that differs between the files.</p>
89
90<table width="100%" border=0 rules="none" frame="void"
91       cellspacing="0" cellpadding="0">
92<tr valign="top" align="left">
93<td width="11%"></td>
94<td width="3%">
95
96
97
98<p style="margin-top: 1em" valign="top"><b>&minus;t</b></p> </td>
99<td width="8%"></td>
100<td width="63%">
101
102
103<p style="margin-top: 1em" valign="top">Ignore any
104differences in directory tags.</p></td>
105<td width="15%">
106</td>
107</table>
108
109<a name="BUGS"></a>
110<h2>BUGS</h2>
111
112
113<p style="margin-left:11%; margin-top: 1em">Tags that are
114not recognized by the library are not compared; they may
115also generate spurious diagnostics.</p>
116
117<p style="margin-left:11%; margin-top: 1em">The image data
118of tiled files is not compared, since the TIFFReadScanline()
119function is used. A error will be reported for tiled
120files.</p>
121
122<p style="margin-left:11%; margin-top: 1em">The pixel
123and/or sample number reported in differences may be off in
124some exotic cases.</p>
125
126<a name="SEE ALSO"></a>
127<h2>SEE ALSO</h2>
128
129
130
131<p style="margin-left:11%; margin-top: 1em"><b>pal2rgb</b>(1),
132<b>tiffcp</b>(1), <b>tiffmedian</b>(1),
133<b>libtiff</b>(3TIFF)</p>
134
135<p style="margin-left:11%; margin-top: 1em">Libtiff library
136home page: <b>http://www.remotesensing.org/libtiff/</b></p>
137<hr>
138</body>
139</html>
140