Blame man/tiffcmp.1

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