1TIFFCMP(1)                  General Commands Manual                 TIFFCMP(1)
2
3
4

NAME

6       tiffcmp - compare two TIFF files
7

SYNOPSIS

9       tiffcmp [ options ] file1.tif file2.tif
10

DESCRIPTION

12       Tiffcmp  compares  the  tags and data in two files created according to
13       the Tagged Image File Format, Revision 6.0.  The schemes used for  com‐
14       pressing  data  in each file are immaterial when data are compared-data
15       are compared on a scanline-by-scanline basis after decompression.  Most
16       directory  tags are checked; notable exceptions are: GrayResponseCurve,
17       ColorResponseCurve, and ColorMap tags.  Data will not  be  compared  if
18       any of the BitsPerSample, SamplesPerPixel, or ImageWidth values are not
19       equal.  By default, tiffcmp will terminate if it encounters any differ‐
20       ence.
21

OPTIONS

23       -l     List each byte of image data that differs between the files.
24
25       -z number
26              List  specified  number of image data bytes that differs between
27              the files.
28
29       -t     Ignore any differences in directory tags.
30

BUGS

32       Tags that are not recognized by the library are not compared; they  may
33       also generate spurious diagnostics.
34
35       The  image data of tiled files is not compared, since the TIFFReadScan‐
36       line() function is used.  An error will be reported for tiled files.
37
38       The pixel and/or sample number reported in differences may  be  off  in
39       some exotic cases.
40

SEE ALSO

42       pal2rgb(1), tiffcp(1), tiffmedian(1), libtiff(3TIFF)
43
44       Libtiff library home page: http://www.remotesensing.org/libtiff/
45
46
47
48libtiff                        November 2, 2005                     TIFFCMP(1)
Impressum