1Ppmtobmp User Manual(0)                                Ppmtobmp User Manual(0)
2
3
4

NAME

6       ppmtobmp - convert a PPM image into a BMP file
7
8

SYNOPSIS

10       ppmtobmp
11
12       [-windows]
13
14       [-os2]
15
16       [-bpp=bits_per_pixel]
17
18       [ppmfile]
19
20       Minimum  unique abbreviation of option is acceptable.  You may use dou‐
21       ble hyphens instead of single hyphen to denote options.   You  may  use
22       white space in place of the equals sign to separate an option name from
23       its value.
24
25
26

DESCRIPTION

28       This program is part of Netpbm(1).
29
30       ppmtobmp reads a PPM image as input and produces a Microsoft Windows or
31       OS/2 BMP file as output.
32
33

OPTIONS

35       -windows
36              Tells  the  program  to  produce  a  Microsoft Windows BMP file.
37              (This is the default.)
38
39
40       -os2   Tells the program to produce an OS/2 BMP file.   (Before  August
41              2000, this was the default).
42
43
44       -bpp   This tells how many bits per pixel you want the BMP file to con‐
45              tain.  Only 1, 4, 8, and 24 are possible.  By default,  ppmtobmp
46              chooses  the smallest number with which it can represent all the
47              colors in the input image.  If you specify a number too small to
48              represent  all the colors in the input image, ppmtobmp tells you
49              and terminates.  You can use pnmquant or ppmdither to reduce the
50              number of colors in the image.
51
52
53
54
55

NOTES

57       To  get  a  faithful reproduction of the input image, the maxval of the
58       input image must be 255.  If it is something else, the  colors  in  the
59       BMP file may be slightly different from the colors in the input.
60
61       Windows icons are not BMP files.  Use ppmtowinicon to create those.
62
63

SEE ALSO

65       bmptoppm(1), ppmtowinicon(1), pnmquant(1), ppmdither(1), ppm(1)
66
67

AUTHOR

69       Copyright (C) 1992 by David W. Sanderson.
70
71
72
73netpbm documentation             13 June 2000          Ppmtobmp User Manual(0)
Impressum