]>
Commit | Line | Data |
---|---|---|
80ed523f | 1 | .\" $Id: tiffcmp.1,v 1.6 2009-08-24 19:13:40 bfriesen Exp $ |
8414a40c VZ |
2 | .\" |
3 | .\" Copyright (c) 1988-1997 Sam Leffler | |
4 | .\" Copyright (c) 1991-1997 Silicon Graphics, Inc. | |
5 | .\" | |
6 | .\" Permission to use, copy, modify, distribute, and sell this software and | |
7 | .\" its documentation for any purpose is hereby granted without fee, provided | |
8 | .\" that (i) the above copyright notices and this permission notice appear in | |
9 | .\" all copies of the software and related documentation, and (ii) the names of | |
10 | .\" Sam Leffler and Silicon Graphics may not be used in any advertising or | |
11 | .\" publicity relating to the software without the specific, prior written | |
12 | .\" permission of Sam Leffler and Silicon Graphics. | |
13 | .\" | |
14 | .\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, | |
15 | .\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY | |
16 | .\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. | |
17 | .\" | |
18 | .\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR | |
19 | .\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, | |
20 | .\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, | |
21 | .\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF | |
22 | .\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE | |
23 | .\" OF THIS SOFTWARE. | |
24 | .\" | |
25 | .if n .po 0 | |
26 | .TH TIFFCMP 1 "November 2, 2005" "libtiff" | |
27 | .SH NAME | |
28 | tiffcmp \- compare two | |
29 | .SM TIFF | |
30 | files | |
31 | .SH SYNOPSIS | |
32 | .B tiffcmp | |
33 | [ | |
34 | .I options | |
35 | ] | |
36 | .I "file1.tif file2.tif" | |
37 | .SH DESCRIPTION | |
38 | .I Tiffcmp | |
39 | compares the tags and data in two files created according | |
40 | to the Tagged Image File Format, Revision 6.0. | |
41 | The schemes used for compressing data in each file | |
42 | are immaterial when data are compared\-data are compared on | |
43 | a scanline-by-scanline basis after decompression. | |
44 | Most directory tags are checked; notable exceptions are: | |
45 | .IR GrayResponseCurve , | |
46 | .IR ColorResponseCurve , | |
47 | and | |
48 | .IR ColorMap | |
49 | tags. | |
50 | Data will not be compared if any of the | |
51 | .IR BitsPerSample , | |
52 | .IR SamplesPerPixel , | |
53 | or | |
54 | .I ImageWidth | |
55 | values are not equal. | |
56 | By default, | |
57 | .I tiffcmp | |
58 | will terminate if it encounters any difference. | |
59 | .SH OPTIONS | |
60 | .TP | |
61 | .B \-l | |
62 | List each byte of image data that differs between the files. | |
63 | .TP | |
80ed523f | 64 | .BI \-z " number" |
8414a40c VZ |
65 | List specified number of image data bytes that differs between the files. |
66 | .TP | |
67 | .B \-t | |
68 | Ignore any differences in directory tags. | |
69 | .SH BUGS | |
70 | Tags that are not recognized by the library are not | |
71 | compared; they may also generate spurious diagnostics. | |
72 | .PP | |
80ed523f VZ |
73 | The image data of tiled files is not compared, since the |
74 | .I TIFFReadScanline() | |
75 | function is used. An error will be reported for tiled files. | |
8414a40c VZ |
76 | .PP |
77 | The pixel and/or sample number reported in differences may be off | |
78 | in some exotic cases. | |
79 | .SH "SEE ALSO" | |
80 | .BR pal2rgb (1), | |
80ed523f | 81 | .BR tiffinfo (1), |
8414a40c VZ |
82 | .BR tiffcp (1), |
83 | .BR tiffmedian (1), | |
84 | .BR libtiff (3TIFF) | |
85 | .PP | |
86 | Libtiff library home page: | |
87 | .BR http://www.remotesensing.org/libtiff/ |