Blame man/tiffcmp.1

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