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