OSDN Git Service

FIRST REPOSITORY
[eos/hostdependOTHERS.git] / HP / util / HP / man / man1 / ras2tiff.1
1 .\"     $Header: /CVS_DB/Eos/util/HP/man/man1/ras2tiff.1,v 1.1.1.1 2002/02/01 06:30:52 tacyas Exp $
2 .\"
3 .\" Copyright (c) 1990-1997 Sam Leffler
4 .\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
5 .\"
6 .\" Permission to use, copy, modify, distribute, and sell this software and 
7 .\" its documentation for any purpose is hereby granted without fee, provided
8 .\" that (i) the above copyright notices and this permission notice appear in
9 .\" all copies of the software and related documentation, and (ii) the names of
10 .\" Sam Leffler and Silicon Graphics may not be used in any advertising or
11 .\" publicity relating to the software without the specific, prior written
12 .\" permission of Sam Leffler and Silicon Graphics.
13 .\" 
14 .\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
15 .\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
16 .\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
17 .\" 
18 .\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
19 .\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
20 .\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
21 .\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
22 .\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
23 .\" OF THIS SOFTWARE.
24 .\"
25 .if n .po 0
26 .TH RAS2TIFF 1 "October 15, 1995"
27 .SH NAME
28 ras2tiff \- create a
29 .SM TIFF
30 file from a Sun rasterfile
31 .SH SYNOPSIS
32 .B ras2tiff
33 [
34 .I options
35 ]
36 .I input.ras
37 .I output.tif
38 .SH DESCRIPTION
39 .I ras2tiff
40 converts a file in the Sun rasterfile format to
41 .SM TIFF.
42 By default, the
43 .SM TIFF
44 image is created with data samples packed (\c
45 .IR PlanarConfiguration =1),
46 compressed with the Lempel-Ziv & Welch algorithm (\c
47 .IR Compression =5),
48 and with each strip no more than 8 kilobytes.
49 These characteristics can overriden, or explicitly specified
50 with the options described below.
51 .PP
52 Any colormap information in the rasterfile is carried over to the
53 .SM TIFF
54 file by including a
55 .I Colormap
56 tag in the output file.
57 If the rasterfile has a colormap, the
58 .I PhotometricInterpretation
59 tag is set to 3 (palette);
60 otherwise it is set to 2 (RGB) if the depth
61 is 24 or 1 (min-is-black) if the depth is not 24.
62 .SH OPTIONS
63 .TP
64 .B \-c
65 Specify a compression scheme to use when writing image data:
66 .B "\-c none"
67 for no compression,
68 .B "-c packbits"
69 for the PackBits compression algorithm,
70 .B "-c jpeg"
71 for the baseline JPEG compression algorithm,
72 .B "-c zip
73 for the Deflate compression algorithm,
74 and
75 .B "\-c lzw"
76 for Lempel-Ziv & Welch (the default).
77 .TP
78 .B \-r
79 Write data with a specified number of rows per strip;
80 by default the number of rows/strip is selected so that each strip
81 is approximately 8 kilobytes.
82 .SH BUGS
83 Does not handle all possible rasterfiles.
84 In particular, 
85 .I ras2tiff
86 does not handle run-length encoded images.
87 .SH "SEE ALSO"
88 .IR pal2rgb (1),
89 .IR tiffinfo (1),
90 .IR tiffcp (1),
91 .IR tiffmedian (1),
92 .IR libtiff (3)