Blame man/tiffcmp.1

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