version 1, including all changes.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
ppmtobmp |
|
|
2 |
!!!ppmtobmp |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
OPTIONS |
|
|
7 |
NOTES |
|
|
8 |
SEE ALSO |
|
|
9 |
AUTHOR |
|
|
10 |
---- |
|
|
11 |
!!NAME |
|
|
12 |
|
|
|
13 |
|
|
|
14 |
ppmtobmp - convert a portable pixmap into a BMP file |
|
|
15 |
!!SYNOPSIS |
|
|
16 |
|
|
|
17 |
|
|
|
18 |
__ppmtobmp__ [[__-windows__] [[__-os2__] |
|
|
19 |
[[__-bpp=__''bits_per_pixel''] |
|
|
20 |
[[''ppmfile''] |
|
|
21 |
!!DESCRIPTION |
|
|
22 |
|
|
|
23 |
|
|
|
24 |
Reads a portable pixmap as input. Produces a Microsoft |
|
|
25 |
Windows or OS/2 BMP file as output. |
|
|
26 |
!!OPTIONS |
|
|
27 |
|
|
|
28 |
|
|
|
29 |
All options can be abbreviated to their shortest unique |
|
|
30 |
prefix and you can use a double dash in place of the single |
|
|
31 |
dash, GNU-style. |
|
|
32 |
|
|
|
33 |
|
|
|
34 |
__-windows__ |
|
|
35 |
|
|
|
36 |
|
|
|
37 |
Tells the program to produce a Microsoft Windows BMP file. |
|
|
38 |
(This is the default.) |
|
|
39 |
|
|
|
40 |
|
|
|
41 |
__-os2__ |
|
|
42 |
|
|
|
43 |
|
|
|
44 |
Tells the program to produce an OS/2 BMP file. (Before |
|
|
45 |
August 2000, this was the default). |
|
|
46 |
|
|
|
47 |
|
|
|
48 |
__-bpp__ |
|
|
49 |
|
|
|
50 |
|
|
|
51 |
This determines how many bits per pixel you want the BMP |
|
|
52 |
file to contain. Only 1, 4, 8, and 24 are possible. By |
|
|
53 |
default, __ppmtobmp__ chooses the smallest number with |
|
|
54 |
which it can represent all the colors in the input image. If |
|
|
55 |
you specify a number too small to represent all the colors |
|
|
56 |
in the input image, __ppmtobmp__ tells you and |
|
|
57 |
terminates. You can use __ppmquant__ or __ppmdither__ |
|
|
58 |
to reduce the number of colors in the image. |
|
|
59 |
!!NOTES |
|
|
60 |
|
|
|
61 |
|
|
|
62 |
To get a faithful reproduction of the input image, the |
|
|
63 |
maxval of the input image must be 255. If it is something |
|
|
64 |
else, __ppmtobmp__ the colors in the BMP file may be |
|
|
65 |
slightly different from the colors in the |
|
|
66 |
input. |
|
|
67 |
|
|
|
68 |
|
|
|
69 |
Windows icons are not BMP files. Use __ppmtowinicon__ to |
|
|
70 |
create those. |
|
|
71 |
!!SEE ALSO |
|
|
72 |
|
|
|
73 |
|
|
|
74 |
bmptoppm(1), ppmtowinicon(1), |
|
|
75 |
ppmquant(1), ppmdither(1), |
|
|
76 |
ppm(5) |
|
|
77 |
!!AUTHOR |
|
|
78 |
|
|
|
79 |
|
|
|
80 |
Copyright (C) 1992 by David W. Sanderson. |
|
|
81 |
---- |