]> git.saurik.com Git - wxWidgets.git/blob - src/tiff/man/bmp2tiff.1
make cast from double to long explicit to suppress gcc warning (part of patch 1962992)
[wxWidgets.git] / src / tiff / man / bmp2tiff.1
1 .\" $Id: bmp2tiff.1,v 1.6 2006/03/23 14:54:02 dron Exp $
2 .\"
3 .\" Copyright (c) 2004, Andrey Kiselev <dron@ak4719.spb.edu>
4 .\"
5 .\" Permission to use, copy, modify, distribute, and sell this software and
6 .\" its documentation for any purpose is hereby granted without fee, provided
7 .\" that (i) the above copyright notices and this permission notice appear in
8 .\" all copies of the software and related documentation, and (ii) the names of
9 .\" Sam Leffler and Silicon Graphics may not be used in any advertising or
10 .\" publicity relating to the software without the specific, prior written
11 .\" permission of Sam Leffler and Silicon Graphics.
12 .\"
13 .\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
14 .\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
15 .\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
16 .\"
17 .\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
18 .\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
19 .\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
20 .\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
21 .\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
22 .\" OF THIS SOFTWARE.
23 .\"
24 .if n .po 0
25 .TH BMP2TIFF 1 "15 October, 2004" "libtiff"
26 .SH NAME
27 bmp2tiff \- create a
28 .SM TIFF
29 file from a Microsoft Windows Device Independent Bitmap image file
30 .SH SYNOPSIS
31 .B bmp2tiff
32 [
33 .I options
34 ]
35 .I input.bmp [input2.bmp ...]
36 .I output.tiff
37 .SH DESCRIPTION
38 .I bmp2tiff
39 converts a Microsoft Windows Device Independent Bitmap image file to
40 .SM TIFF.
41 If several input BMP files are being specified the multipage
42 .SM TIFF
43 output file will be created. By default, the
44 .SM TIFF
45 image is created with data samples packed (\c
46 .IR PlanarConfiguration =1),
47 compressed with the PackBits algorithm (\c
48 .IR Compression = 32773),
49 and with each strip no more than 8 kilobytes.
50 These characteristics can overridden, or explicitly specified
51 with the options described below.
52 .SH OPTIONS
53 .TP
54 .B \-c
55 Specify a compression scheme to use when writing image data:
56 .B "\-c none"
57 for no compression,
58 .B "-c packbits"
59 for the PackBits compression algorithm (the default),
60 .B "-c jpeg"
61 for the baseline JPEG compression algorithm,
62 .B "-c zip
63 for the Deflate compression algorithm,
64 and
65 .B "\-c lzw"
66 for Lempel-Ziv & Welch.
67 .TP
68 .B \-r <number>
69 Write data with a specified number of rows per strip;
70 by default the number of rows/strip is selected so that each strip
71 is approximately 8 kilobytes.
72 .SH "SEE ALSO"
73 .BR gif2tiff (1),
74 .BR pal2rgb (1),
75 .BR ppm2tiff (1),
76 .BR raw2tiff (1),
77 .BR ras2tiff (1),
78 .BR sgi2tiff (1),
79 .BR libtiff (3TIFF)
80 .PP
81 Libtiff library home page:
82 .BR http://www.remotesensing.org/libtiff/