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 πŸŽ€

  • -c compress β€” tell it which compression scheme to use when it writes the image data. your choices are: -c none for no compression at all, -c packbits for the PackBits compression algorithm, -c zip for the Deflate compression algorithm, -c g3 for the CCITT Group 3 compression algorithm, -c g4 for the CCITT Group 4 compression algorithm, and -c lzw for Lempel-Ziv & Welch β€” which is the default, bestie. 🫢
  • -r striprows β€” 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. ✨
  • -R redperc β€” pick the percentage of the red channel to use (default 28). πŸ’–
  • -G greenperc β€” pick the percentage of the green channel to use (default 59). 🌸
  • -B blueperc β€” pick the percentage of the blue channel to use (default 11). πŸ¦‹

🌈 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. πŸ’œ


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