TIFF2BW(1)
β¨ NAME β¨
okay so bestie, this is tiff2bw from the LibTIFF gang β it converts a color TIFF image into a greyscale one. that's it, that's the whole job. π
π¦ SYNOPSIS π¦
tiff2bw [ options ] input.tif output.tif
π DESCRIPTION π
so here's the tea: tiff2bw takes an RGB or Palette color TIFF image and turns it into a greyscale image, and the way it does that is by combining percentages of the red, green, and blue channels. iconic behavior honestly.
by default, the output samples are built by taking 28% of the red channel, 59% of the green channel, and 11% of the blue channel. and if those numbers aren't your vibe? no problem β you can change those percentages with the -R, -G, and -B options. periodt. π
π OPTIONS π
-ccompress β tell it which compression scheme to use when it writes the image data. your choices are:-c nonefor no compression at all,-c packbitsfor the PackBits compression algorithm,-c zipfor the Deflate compression algorithm,-c g3for the CCITT Group 3 compression algorithm,-c g4for the CCITT Group 4 compression algorithm, and-c lzwfor Lempel-Ziv & Welch β which is the default, bestie. π«Ά-rstriprows β writes the data with however many rows per strip you specify. but lowkey, if you don't touch this, the number of rows per strip gets picked so that each strip is approximately 8 kilobytes. it just handles it for you, main character energy. β¨-Rredperc β pick the percentage of the red channel to use (default28). π-Ggreenperc β pick the percentage of the green channel to use (default59). πΈ-Bblueperc β pick the percentage of the blue channel to use (default11). π¦
π SEE ALSO π
go give these a lil look too, they're all part of the family:
pal2rgb(1)tiffinfo(1)tiffcp(1)tiffmedian(1)libtiff(3tiff)
π AUTHOR π
LibTIFF contributors β the whole squad, fr fr. π
π COPYRIGHT π
1988-2025, LibTIFF contributors
and that's the whole page bestie!! this one's version 4.7 and it's dated Jun 27, 2026 β anyway ily, go convert some greyscale, mwah πβ¨π
π¦ 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