tiff2bw man page on OpenIndiana

Man page or keyword search:  
man Server   20441 pages
apropos Keyword Search (all sections)
Output format
OpenIndiana logo
[printable version]

tiff2bw(1)			 User Commands			    tiff2bw(1)

NAME
       tiff2bw - convert a color TIFF image to grayscale

SYNOPSIS
       tiff2bw [options] input.tif output.tif

DESCRIPTION
       tiff2bw	converts  an  RGB  or  palette color TIFF image to a grayscale
       image by combining percentages of the red, green, and blue channels. By
       default,	 output	 samples are created by taking 28% of the red channel,
       59% of the green channel, and 11% of the blue channel. To  alter	 these
       percentages, use the -R. -G, and -B options.

OPTIONS
       The following options are supported:

       -B	       Specify	the percentage of the blue channel to use. The
		       default value is 11.

       -c	       Specify a compression scheme to use when writing	 image
		       data:

		       -c g3		       CCITT Group 3 compression algo‐
					       rithm.

		       -c g4		       CCITT Group 4 compression algo‐
					       rithm.

		       -c lzw		       Lempel-Ziv and Welch algorithm.
					       This is the default algorithm.

		       -c none		       No compression.

		       -c packbits	       PackBits compression algorithm.

		       -c zip		       Deflate compression algorithm.

       -G	       Specify the percentage of the green channel to use. The
		       default value is 59.

       -R	       Specify	the  percentage of the red channel to use. The
		       default value is 28.

       -r	       Write data with a specified number of rows  per	strip.
		       By default, the number of rows per strip is selected so
		       that each strip is approximately 8 kilobytes.

OPERANDS
       The following operands are supported:

       input.tif       The name of the input TIFF file.

       output.tif      The name of the output file.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Availability		     │image/library/libtiff	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface stability	     │Uncommitted		   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       pal2rgb(1), tiffinfo(1), tiffcp(1), tiffmedian(1), libtiff(3)

NOTES
       Updated by Breda McColgan, Sun Microsystems Inc., 2004.

SunOS 5.11			  26 Mar 2004			    tiff2bw(1)
[top]

List of man pages available for OpenIndiana

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net