thumbnail(1) User Commands thumbnail(1)NAME
thumbnail - create a TIFF file with thumbnail images
SYNOPSIS
thumbnail [options] input.tif output.tif
DESCRIPTION
The thumbnail command shows how to use the SubIFD tag (#330) to store thumbnail images. thumbnail copies a TIFF Class F facsimile file to
the output file and, for each image, an 8-bit grayscale thumbnail sketch. The output file contains the thumbnail image with the associated
full-resolution page linked below with the SubIFD tag.
By default, thumbnail images are 216 pixels wide by 274 pixels high. Pixels are calculated by sampling and filtering the input image with
each pixel value passed through a contrast curve.
OPTIONS
The following options are supported:
-c Specify a contrast curve to apply when generating the thumbnail images. By default, pixel values are passed through a lin-
ear contrast curve that simply maps the pixel value ranges. Alternative curves are as follows:
exp50 50% exponential curve
exp60 60% exponential curve
exp70 70% exponential curve
exp80 80% exponential curve
exp90 90% exponential curve
exp pure exponential curve
linear linear curve
-h Specify the height of thumbnail images in pixels.
-w Specify the width of thumbnail images in pixels.
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 |SUNWTiff |
+-----------------------------+-----------------------------+
|Interface stability |Uncommitted |
+-----------------------------+-----------------------------+
SEE ALSO tiffdump(1), tiffgt(1), tiffinfo(1), libtiff(3)NOTES
There are no options to control the format of the saved thumbnail images.
Updated by Breda McColgan, Sun Microsystems Inc., 2004.
SunOS 5.11 26 Mar 2004 thumbnail(1)
Check Out this Related Man Page
tiff2ps(1) User Commands tiff2ps(1)NAME
tiff2ps - convert a TIFF image to PostScript
SYNOPSIS
tiff2ps [options] input.tif...
DESCRIPTION
tiff2ps reads TIFF images and writes PostScript or Encapsulated PostScript (EPS) on the standard output. By default, tiff2ps writes Encap-
sulated PostScript for the first image in the specified TIFF image file.
By default, tiff2ps generates PostScript that fills a printed area specified by the TIFF tags in the input file. If the file does not con-
tain XResolution or YResolution tags, then the printed area is set according to the image dimensions. You can use the -w and -h options to
set the dimensions of the printed area in inches, overriding any relevant TIFF tags.
The PostScript generated for RGB, palette, and CMYK images uses the colorimage operator. The PostScript generated for grayscale and bilevel
images uses the image operator. When the colorimage operator is used, PostScript code to emulate this operator on older PostScript printers
is also generated. Note that this emulation code can be very slow.
Color images with associated alpha data are composited over a white background.
OPTIONS
The following options are supported:
-1 Generate PostScript Level I. This is the default.
-2 Generate PostScript Level II.
-a Generate output for all IFDs (pages) in the input file.
-d Set the initial TIFF directory to the specified directory number. Note that directories are numbered starting at zero. This
option is useful for selecting individual pages in a multipage file, for example facsimile.
-e Force the generation of Encapsulated PostScript.
-h Specify the vertical size of the printed area in inches.
-o Set the initial TIFF directory to the IFD at the specified file offset. This option is useful for selecting thumbnail
images, which are hidden using the SubIFD tag.
-p Force the generation of non-Encapsulated PostScript.
-s Generate output for a single IFD (page) in the input file.
-w Specify the horizontal size of the printed area in inches.
-z When generating PostScript Level II, data is scaled so that the data does not image into the deadzone on a page, that is,
the outer margin that the printing device is unable to mark. This option suppresses this behavior. When PostScriptLevel I
is generated, data is imaged to the entire printed page and this option has no affect.
OPERANDS
The following operands are supported:
input.tif The name of the input TIFF file.
EXAMPLES
Example 1: Generating PostScript Level II for All Pages of a Facsimile
example% tiff2ps -a2 fax.tif | lpr
Note that if you have version 2.6.1 or newer of Ghostscript, you can efficiently preview facsimile generated by the above command.
Example 2: Generating Encapsulated PostScript for the Image at Directory 2 of an Image
example% tiff2ps -d 1 foo.tif
Note that directories are numbered starting at zero.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWTiff |
+-----------------------------+-----------------------------+
|Interface stability |Uncommitted |
+-----------------------------+-----------------------------+
SEE ALSO pal2rgb(1), tiffinfo(1), tiffcp(1), tiffgt(1), tiffmedian(1), tiff2bw(1), tiffsv(1), libtiff(3)NOTES
PostScript does not support colormaps. Therefore, 8-bit palette images produce 24-bit PostScript images. This conversion results in output
that is six times bigger than the original image and which takes a long time to send to a printer over a serial line. Matters are even
worse for 4-, 2-, and 1-bit palette images.
Does not support tiled images when generating PostScript Level I output.
Updated by Breda McColgan, Sun Microsystems Inc., 2004.
SunOS 5.11 26 Mar 2004 tiff2ps(1)