TIFFCMP(1)
π tiffcmp β the bestie manual page π
okay so bestie, you know tiffcmp? it's the LibTIFF girlie whose whole job is comparing two TIFF files. yes, this is the TIFFCMP(1) page, we're doing this together, grab a π and let's go.
β¨ NAME β¨
tiffcmp β compare two TIFF files
π SYNOPSIS π
tiffcmp [ options ] file1.tif file2.tif
like. two files. that's the whole vibe. π
π¦ DESCRIPTION π¦
so tiffcmp compares the tags and the data in two files that were created according to the Tagged Image File Format, Revision 6.0. and listen β the compression schemes each file used are literally immaterial when the data get compared, because the data are compared on a scanline-by-scanline basis after decompression. so you can have one file zip-zipped and the other raw and she does not care, she just wants the pixels. π
most directory tags get checked. notable exceptions (the ones she's like "not my problem bestie" about) are: GrayResponseCurve, ColorResponseCurve, and ColorMap tags. π«Ά
and here's the thing β data will not be compared if any of the BitsPerSample, SamplesPerPixel, or ImageWidth values are not equal. she's not gonna do the math on mismatched shapes, no cap.
by default, tiffcmp will terminate if it encounters any difference. like, first difference, she's out. π periodt.
π OPTIONS π
-lβ list each byte of image data that differs between the files. every single one. she's thorough like that. β¨-znumber β list the specified number of image data bytes that differs between the files. so you can be like "okay show me 5 and then chill." πΈ-tβ ignore any differences in directory tags. tags? don't know her. data only. π
π BUGS π
okay so the receipts, bestie, because we keep it real:
- tags that are not recognized by the library are not compared; they may also generate spurious diagnostics. so if she yells about something weird, that might be why. π
- the image data of tiled files is not compared, since the
TIFFReadScanline()function is used. an error will be reported for tiled files. not a vibe, but that's the situation. π - the pixel and/or sample number reported in differences may be off in some exotic cases. so like. the number's a little feral sometimes. iykyk. π
π SEE ALSO π
pal2rgb (1), tiffinfo (1), tiffcp (1), tiffmedian (1), libtiff (3tiff)
go read those too, they're all in the same friend group π«Ά
π AUTHOR π
LibTIFF contributors β icons, honestly.
π COPYRIGHT π
1988-2025, LibTIFF contributors
and that's the whole page bestie!! this was version 4.7, dated Jun 27, 2026, brought to you by the LibTIFF contributors. slay, go compare some files, ily πβ¨π¦πΈ
π¦ where this page comes from
- fedora 43: libtiff-tools 4.7.2-1.fc43
- fedora 43: libtiff-tools 4.7.2-3.fc43 Β· libtiff
- fedora 44: libtiff-tools 4.7.2-1.fc44
- fedora 44: libtiff-tools 4.7.2-3.fc44 Β· libtiff
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms