.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "TIFFCMP" "1" "Dec 17, 2022" "4.5" "LibTIFF" .SH NAME tiffcmp \- compare two TIFF files .SH SYNOPSIS .sp \fBtiffcmp\fP [ \fIoptions\fP ] \fIfile1.tif\fP \fIfile2.tif\fP .SH DESCRIPTION .sp \fBtiffcmp\fP compares the tags and data in two files created according to the Tagged Image File Format, Revision 6.0. The schemes used for compressing data in each file are immaterial when data are compared\-data are compared on a scanline\-by\-scanline basis after decompression. Most directory tags are checked; notable exceptions are: \fBGrayResponseCurve\fP, \fBColorResponseCurve\fP, and \fBColorMap\fP tags. Data will not be compared if any of the \fBBitsPerSample\fP, \fBSamplesPerPixel\fP, or \fBImageWidth\fP values are not equal. By default, \fBtiffcmp\fP will terminate if it encounters any difference. .SH OPTIONS .INDENT 0.0 .TP .B \-l List each byte of image data that differs between the files. .UNINDENT .INDENT 0.0 .TP .B \-z number List specified number of image data bytes that differs between the files. .UNINDENT .INDENT 0.0 .TP .B \-t Ignore any differences in directory tags. .UNINDENT .SH BUGS .sp Tags that are not recognized by the library are not compared; they may also generate spurious diagnostics. .sp The image data of tiled files is not compared, since the \fI\%TIFFReadScanline()\fP function is used. An error will be reported for tiled files. .sp The pixel and/or sample number reported in differences may be off in some exotic cases. .SH SEE ALSO .sp \fI\%pal2rgb\fP (1), \fI\%tiffinfo\fP (1), \fI\%tiffcp\fP (1), \fI\%tiffmedian\fP (1), \fI\%libtiff\fP (3tiff) .SH AUTHOR LibTIFF contributors .SH COPYRIGHT 1988-2022, LibTIFF contributors .\" Generated by docutils manpage writer. .