]> git.saurik.com Git - wxWidgets.git/blame - src/tiff/man/tiffcmp.1
Performance optimization
[wxWidgets.git] / src / tiff / man / tiffcmp.1
CommitLineData
8414a40c
VZ
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
28tiffcmp \- compare two
29.SM TIFF
30files
31.SH SYNOPSIS
32.B tiffcmp
33[
34.I options
35]
36.I "file1.tif file2.tif"
37.SH DESCRIPTION
38.I Tiffcmp
39compares the tags and data in two files created according
40to the Tagged Image File Format, Revision 6.0.
41The schemes used for compressing data in each file
42are immaterial when data are compared\-data are compared on
43a scanline-by-scanline basis after decompression.
44Most directory tags are checked; notable exceptions are:
45.IR GrayResponseCurve ,
46.IR ColorResponseCurve ,
47and
48.IR ColorMap
49tags.
50Data will not be compared if any of the
51.IR BitsPerSample ,
52.IR SamplesPerPixel ,
53or
54.I ImageWidth
55values are not equal.
56By default,
57.I tiffcmp
58will terminate if it encounters any difference.
59.SH OPTIONS
60.TP
61.B \-l
62List each byte of image data that differs between the files.
63.TP
64.B \-z number
65List specified number of image data bytes that differs between the files.
66.TP
67.B \-t
68Ignore any differences in directory tags.
69.SH BUGS
70Tags that are not recognized by the library are not
71compared; they may also generate spurious diagnostics.
72.PP
73The image data of tiled files is not compared, since the TIFFReadScanline()
74function is used. A error will be reported for tiled files.
75.PP
76The pixel and/or sample number reported in differences may be off
77in 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
85Libtiff library home page:
86.BR http://www.remotesensing.org/libtiff/