TIFFSET(1)
π TIFFSET β bestie edition π
okay so real quick, this is tiffset from the LibTIFF fam (that's the TIFFSET(1) one, section 1, obvi) and it's literally the glow-up tool for your TIFF headers β¨
πΈ NAME πΈ
tiffset β set or unset a field in a TIFF header. yes that's the whole vibe. we're editing metadata, we're serving, we're done π
π¦ SYNOPSIS π¦
tiffset [ options ] filename.tif
β¨ DESCRIPTION β¨
so tiffset does exactly one thing and does it iconically: it sets the value of a TIFF header to a specified value, OR it removes an existing setting. that's it. that's the girl. π
π OPTIONS π
-ddirnumber β change the current directory (starting at0). like flipping to a different page in the TIFF, bestie ποΈ-stagnumber [ count ] value β¦ β set the value of the named tag to the value or values you specify. this is the main character option fr fr-sddiroffset β change the current directory by offset. same energy as-dbut you're navigating by offset instead of number π«-sftagnumber filename β set the value of the tag to the contents of filename. β οΈ lowkey important: this option is supported for ASCII tags only, no cap-utagnumber β unset the tag. bye bye tag, we don't know her anymore π
π EXAMPLES π
exhibit a β sets the image description tag (270) of a.tif to the contents of the file descrip:
tiffset -sf 270 descrip a.tif
exhibit b β sets the artist tag (315) of a.tif to the string Anonymous:
tiffset -s 315 Anonymous a.tif
exhibit c β sets the resolution of the file a.tif to 300 dpi:
tiffset -s 296 2 a.tif
tiffset -s 282 300.0 a.tif
tiffset -s 283 300.0 a.tif
exhibit d β set the photometric interpretation of the third page of a.tif to min-is-black (ie. inverts it). and yes, that -d 2 is because we start counting at 0, she's on her zero-indexed era π:
tiffset -d 2 -s 262 1 a.tif
π₯ SEE ALSO π₯
tiffdump(1)tiffinfo(1)tiffcp(1)libtiff(3tiff)
go read those too, they're all part of the squad π«Ά
π AUTHOR π
LibTIFF contributors β the actual legends
π COPYRIGHT π
1988-2025, LibTIFF contributors
and that's the whole page, bestie!! this was version 4.7, dated Jun 27, 2026, and it came to you straight from the LibTIFF girlies. now go forth and set some tags πβ¨πΈπ¦π
π¦ 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