📄 tiffgt.1
字号:
.\" $Header: /cvsroot/osrs/libtiff/man/tiffgt.1,v 1.1.1.1 1999/07/27 21:50:28 mike Exp $.\".\" Copyright (c) 1988-1997 Sam Leffler.\" Copyright (c) 1991-1997 Silicon Graphics, Inc..\".\" Permission to use, copy, modify, distribute, and sell this software and .\" its documentation for any purpose is hereby granted without fee, provided.\" that (i) the above copyright notices and this permission notice appear in.\" all copies of the software and related documentation, and (ii) the names of.\" Sam Leffler and Silicon Graphics may not be used in any advertising or.\" publicity relating to the software without the specific, prior written.\" permission of Sam Leffler and Silicon Graphics..\" .\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, .\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY .\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. .\" .\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR.\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,.\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,.\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF .\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE .\" OF THIS SOFTWARE..\".if n .po 0.TH TIFFGT 1 "October 15, 1995".SH NAMEtiffgt \- display an image stored in a.SM TIFFfile (Silicon Graphics version).SH SYNOPSIS.B tiffgt[.I options].I "input.tif ...".SH DESCRIPTION.I tiffgtdisplays one or more images stored using theTag Image File Format, Revision 6.0.Each image is placed in a fixed size window that theuser must position on the display (unless configuredotherwise through X defaults).If the display has fewer than 24 bitplanes, or if theimage does not warrant full color, then.SM RGBcolor values are mapped to the closest values that exist inthe colormap (this is done using the.I rgbiroutine found in the graphics utility library.BR \-lgutil .).PP.I tiffgtcorrectly handles files with any of the following characteristics:.sp .5.in +0.5i.ta \w'\fIPhotometricInterpretation\fP 'u.nfBitsPerSample 1, 2, 4, 8, 16SamplesPerPixel 1, 3, 4 (the 4th sample is ignored)PhotometricInterpretation 0 (min-is-white), 1 (min-is-black), 2 (RGB), 3 (palette), 6 (YCbCr)PlanarConfiguration 1 (contiguous), 2 (separate)Orientation 1 (top-left), 4 (bottom-left).fi.in -0.5i.sp .5Data may be organized as strips or tiles and may becompressed with any of the compression algorithms supportedby the .IR libtiff (3)library..PPFor palette images (\c.IR PhotomatricInterpretation =3),.I tiffgtinspects the colormap values and assumes either 16-bitor 8-bit values according to the maximum value.That is, if no colormap entry greater than 255 is found,.I tiffgtassumes the colormap has only 8-bit values; otherwiseit assumes 16-bit values.This inspection is done to handle old images written byprevious (incorrect) versions of.IR libtiff ..PP.I tiffgtcan be used to display multiple images one-at-a-time.The left mouse button switches the display to the first image in the.I nextfile in the list of files specified on the command line.The right mouse button switches to the first image in the.I previousfile in the list.The middle mouse button causes the first image in the first filespecified on the command line to be displayed.In addition the following keyboard commands are recognized:.TP.B bUse a.I PhotometricIntepretationof MinIsBlack in displaying the current image..TP.B lUse a.I FillOrderof lsb-to-msb in decoding the current image..TP.B mUse a.I FillOrderof msb-tolmsb in decoding the current image..TP.B cUse a colormap visual to display the current image..TP.B rUse a true color (24-bit RGB) visual to display the current image..TP.B wUse a.I PhotometricIntepretationof MinIsWhite in displaying the current image..TP.B WToggle (enable/disable) display of warning messages from the.SM TIFFlibrary when decoding images..TP.B EToggle (enable/disable) display of error messages from the.SM TIFFlibrary when decoding images..TP.B zReset all parameters to their default settings (\c.IR FillOrder ,.IR PhotometricInterpretation ,handling of warnings and errors)..TP.B PageUpDisplay the previous image in the current file or the lastimage in the previous file..TP.B PageDownDisplay the next image in the current file or the first imagein the next file..TP.B HomeDisplay the first image in the current file..TP.B EndDisplay the last image in the current file (unimplemented)..SH OPTIONS.TP.B \-cForce image display in a colormap window..TP.B \-dSpecify an image to display by directory number.By default the first image in the file is displayed.Directories are numbered starting at zero..TP.B \-eEnable reporting of error messages from the .SM TIFFlibrary.By default.I tiffgtsilently ignores images that cannot be read..TP.B \-fForce .I tiffgtto run as a foreground process.By default.I tiffgtwill place itself in the background once it has opened therequested image file..TP.B \-lForce the presumed bit ordering to be.SM LSBto.SM MSB..TP.B \-mForce the presumed bit ordering to be.SM MSBto.SM LSB..TP.B \-oSpecify an image to display by directory offset.By default the first image in the file is displayed.Directories offsets may be specified using C-style syntax;i.e. a leading ``0x'' for hexadecimal and a leading ``0'' for octal..TP.B \-pOverride the value of the.I PhotometricInterpretationtag; the parameter may be one of:.IR miniswhite ,.IR minisblack ,.IR rgb ,.IR palette ,.IR mask ,.IR separated ,.IR ycbcr ,and.IR cielab ..TP.B \-rForce image display in a full color window..TP.B \-sStop on the first read error.By default all errors in the input data are ignored and .I tiffgtdoes it's best to display as much of an image as possible..TP.B \-wEnable reporting of warning messages from the .SM TIFFlibrary.By default.I tiffgtignores warning messages generated when reading an image..TP.B \-vPlace information in the title bar describingwhat type of window (full color or colormap) is beingused, the name of the input file, and the directoryindex of the image (if non-zero).By default, the window type is not shown in the title bar..SH BUGSImages wider and taller than the display are silently truncated to avoidcrashing old versions of the window manager..SH "SEE ALSO".IR tiffdump (1),.IR tiffinfo (1),.IR tiffcp (1),.IR libtiff (3)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -