|
kusano |
7d535a |
.\" $Id: tiffcmp.1,v 1.6 2009-08-24 19:13:40 bfriesen Exp $
|
|
kusano |
7d535a |
.\"
|
|
kusano |
7d535a |
.\" Copyright (c) 1988-1997 Sam Leffler
|
|
kusano |
7d535a |
.\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
|
|
kusano |
7d535a |
.\"
|
|
kusano |
7d535a |
.\" Permission to use, copy, modify, distribute, and sell this software and
|
|
kusano |
7d535a |
.\" its documentation for any purpose is hereby granted without fee, provided
|
|
kusano |
7d535a |
.\" that (i) the above copyright notices and this permission notice appear in
|
|
kusano |
7d535a |
.\" all copies of the software and related documentation, and (ii) the names of
|
|
kusano |
7d535a |
.\" Sam Leffler and Silicon Graphics may not be used in any advertising or
|
|
kusano |
7d535a |
.\" publicity relating to the software without the specific, prior written
|
|
kusano |
7d535a |
.\" permission of Sam Leffler and Silicon Graphics.
|
|
kusano |
7d535a |
.\"
|
|
kusano |
7d535a |
.\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
|
|
kusano |
7d535a |
.\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
|
|
kusano |
7d535a |
.\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
|
|
kusano |
7d535a |
.\"
|
|
kusano |
7d535a |
.\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
|
|
kusano |
7d535a |
.\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
|
|
kusano |
7d535a |
.\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
|
kusano |
7d535a |
.\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
|
|
kusano |
7d535a |
.\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
|
|
kusano |
7d535a |
.\" OF THIS SOFTWARE.
|
|
kusano |
7d535a |
.\"
|
|
kusano |
7d535a |
.if n .po 0
|
|
kusano |
7d535a |
.TH TIFFCMP 1 "November 2, 2005" "libtiff"
|
|
kusano |
7d535a |
.SH NAME
|
|
kusano |
7d535a |
tiffcmp \- compare two
|
|
kusano |
7d535a |
.SM TIFF
|
|
kusano |
7d535a |
files
|
|
kusano |
7d535a |
.SH SYNOPSIS
|
|
kusano |
7d535a |
.B tiffcmp
|
|
kusano |
7d535a |
[
|
|
kusano |
7d535a |
.I options
|
|
kusano |
7d535a |
]
|
|
kusano |
7d535a |
.I "file1.tif file2.tif"
|
|
kusano |
7d535a |
.SH DESCRIPTION
|
|
kusano |
7d535a |
.I Tiffcmp
|
|
kusano |
7d535a |
compares the tags and data in two files created according
|
|
kusano |
7d535a |
to the Tagged Image File Format, Revision 6.0.
|
|
kusano |
7d535a |
The schemes used for compressing data in each file
|
|
kusano |
7d535a |
are immaterial when data are compared\-data are compared on
|
|
kusano |
7d535a |
a scanline-by-scanline basis after decompression.
|
|
kusano |
7d535a |
Most directory tags are checked; notable exceptions are:
|
|
kusano |
7d535a |
.IR GrayResponseCurve ,
|
|
kusano |
7d535a |
.IR ColorResponseCurve ,
|
|
kusano |
7d535a |
and
|
|
kusano |
7d535a |
.IR ColorMap
|
|
kusano |
7d535a |
tags.
|
|
kusano |
7d535a |
Data will not be compared if any of the
|
|
kusano |
7d535a |
.IR BitsPerSample ,
|
|
kusano |
7d535a |
.IR SamplesPerPixel ,
|
|
kusano |
7d535a |
or
|
|
kusano |
7d535a |
.I ImageWidth
|
|
kusano |
7d535a |
values are not equal.
|
|
kusano |
7d535a |
By default,
|
|
kusano |
7d535a |
.I tiffcmp
|
|
kusano |
7d535a |
will terminate if it encounters any difference.
|
|
kusano |
7d535a |
.SH OPTIONS
|
|
kusano |
7d535a |
.TP
|
|
kusano |
7d535a |
.B \-l
|
|
kusano |
7d535a |
List each byte of image data that differs between the files.
|
|
kusano |
7d535a |
.TP
|
|
kusano |
7d535a |
.BI \-z " number"
|
|
kusano |
7d535a |
List specified number of image data bytes that differs between the files.
|
|
kusano |
7d535a |
.TP
|
|
kusano |
7d535a |
.B \-t
|
|
kusano |
7d535a |
Ignore any differences in directory tags.
|
|
kusano |
7d535a |
.SH BUGS
|
|
kusano |
7d535a |
Tags that are not recognized by the library are not
|
|
kusano |
7d535a |
compared; they may also generate spurious diagnostics.
|
|
kusano |
7d535a |
.PP
|
|
kusano |
7d535a |
The image data of tiled files is not compared, since the
|
|
kusano |
7d535a |
.I TIFFReadScanline()
|
|
kusano |
7d535a |
function is used. An error will be reported for tiled files.
|
|
kusano |
7d535a |
.PP
|
|
kusano |
7d535a |
The pixel and/or sample number reported in differences may be off
|
|
kusano |
7d535a |
in some exotic cases.
|
|
kusano |
7d535a |
.SH "SEE ALSO"
|
|
kusano |
7d535a |
.BR pal2rgb (1),
|
|
kusano |
7d535a |
.BR tiffinfo (1),
|
|
kusano |
7d535a |
.BR tiffcp (1),
|
|
kusano |
7d535a |
.BR tiffmedian (1),
|
|
kusano |
7d535a |
.BR libtiff (3TIFF)
|
|
kusano |
7d535a |
.PP
|
|
kusano |
7d535a |
Libtiff library home page:
|
|
kusano |
7d535a |
.BR http://www.remotesensing.org/libtiff/
|