]> git.saurik.com Git - wxWidgets.git/blob - src/tiff/man/tiffcmp.1
fix Get(Sub)ItemRect() after changes of r54437; added test for it (see #10175)
[wxWidgets.git] / src / tiff / man / tiffcmp.1
1 .\" $Id: tiffcmp.1,v 1.4 2005/11/02 11:07:19 dron Exp $
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
64 .B \-z number
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
73 The image data of tiled files is not compared, since the TIFFReadScanline()
74 function is used. A error will be reported for tiled files.
75 .PP
76 The pixel and/or sample number reported in differences may be off
77 in some exotic cases.
78 .SH "SEE ALSO"
79 .BR pal2rgb (1),
80 .bR tiffinfo (1),
81 .BR tiffcp (1),
82 .BR tiffmedian (1),
83 .BR libtiff (3TIFF)
84 .PP
85 Libtiff library home page:
86 .BR http://www.remotesensing.org/libtiff/