Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tiffutil(1) [osx man page]

TIFFUTIL(1)						    BSD General Commands Manual 					       TIFFUTIL(1)

NAME
tiffutil - manipulates tiff files SYNOPSIS
tiffutil <option> [<arguments>] [-out <outfile>] DESCRIPTION
tiffutil lets you manipulate TIFF files. The list of options (also available by running the program without any options) follows: tiffutil -none infile [-out outfile] -lzw infile [-out outfile] -packbits infile [-out outfile] -cat infile1 [infile2 ...] [-out outfile] -catnosizecheck infile1 [infile2 ...] [-out outfile] -cathidpicheck infile1 [infile2 ...] [-out outfile] -extract num infile [-out outfile] -info infile -verboseinfo infile -dump infile -none, -lzw, and -packbits options specify the compression format to be applied to the images in the TIFF file. -none specifies no compres- sion; -packbits specifies PackBits compression; -lzw specifies standard Lempel-Ziv & Welch compression (no prediction scheme). -cat allows combining multiple TIFF files into one. The images are copied without any change in tag values. If the real sizes (pixel size divided by dpi) of the images being combined are not the same, a warning will be generated. This makes sure that NSImage can successfully choose the right size image out of the generated TIFF file. Use -catnosizecheck to bypass the size check. -cathidpicheck can be used to write an output file conforming to Apple's guidelines for resolution independent bitmap images, and will gener- ate warnings if the supplied images do not have the recommended size relationship. For best results, ensure that the larger file has a file- name of the form <basename>@2x.png. -extract allows extracting an individual image from a TIFF file; specify num = 0 for the first image in the file. -info prints information about TIFF images. -verboseinfo is the same, except most of the tables are displayed in full. -dump simply lists all of the tags in the file without trying to interpret them; it is handy when trying to figure out why a TIFF file won't load or display prop- erly. For options which write images out, the output goes to "out.tiff" unless an output file name is specified after a -out keyword. This keyword and the file must be the last items on the command line. -info, -verboseinfo, and -dump write their output to the standard output. If there are multiple images in a TIFF file the specified operation will be performed on all of them. SECURITY NOTE: This version of tiffutil SHOULD NOT be used with untrusted files. CREDITS
Parts of tiffutil were based on the freely distributable "tiffcp" and "tiffinfo" programs written by Sam Leffler and made available with v3.0 of his excellent TIFF library. The TIFF library and the tiffcp and tiffinfo programs are: Copyright (c) 1988, 1989, 1990, 1991, 1992 Sam Leffler Copyright (c) 1991, 1992 Silicon Graphics, Inc. Mac OS X September 2, 2010 Mac OS X

Check Out this Related Man Page

rgb2ycbcr(1)							   User Commands						      rgb2ycbcr(1)

NAME
rgb2ycbcr - convert non-YCbCr TIFF images to YCbCr TIFF images SYNOPSIS
rgb2ycbcr [options] src1.tif [src2.tif...] dest.tif DESCRIPTION
rgb2ycbcr converts RGB color, grayscale, or bi-level TIFF images to YCbCr images by transforming and sampling pixel data. If multiple files are specified on the command line, each source file is converted to a separate directory in the destination file. By default, chrominance samples are created by sampling 2 by 2 blocks of luminance values, and output data files are compressed with the LZW compression scheme, with each strip no more than 8 kilobytes. These characteristics can be overridden or explicitly specified with the options described below. OPTIONS
The following options are supported: -c Specify a compression scheme to use when writing image data: -c jpeg Baseline JPEG compression algorithm. -c lzw Lempel-Ziv and Welch algorithm. This is the default algorithm. -c none No compression. -c packbits PackBits compression algorithm. -h Set the horizontal sampling dimension to one of the following: 1, 2, or 4. The default value is 2. -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. -v Set the vertical sampling dimension to one of the following: 1, 2, or 4. The default value is 2. OPERANDS
The following operands are supported: src.tif The name of the input file that contains non-YCbCr TIFF data. dest.tif The name of the output file that contains YCbCr TIFF data. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWTiff | +-----------------------------+-----------------------------+ |Interface stability |External | +-----------------------------+-----------------------------+ SEE ALSO
tiffinfo(1), tiffcp(1), libtiff(3) NOTES
Updated by Breda McColgan, Sun Microsystems Inc., 2004. SunOS 5.10 26 Mar 2004 rgb2ycbcr(1)
Man Page