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

NAME

6       bmptopnm - convert a BMP file into a PBM, PGM, or PNM image
7
8

SYNOPSIS

10       bmptopnm
11
12       [-verbose]
13
14       [bmpfile]
15
16

DESCRIPTION

18       This program is part of Netpbm(1).
19
20       bmptopnm reads a Microsoft Windows or OS/2 BMP file as input.  and pro‐
21       duces a PBM, PGM, or PNM image as output.  If the input is  colormapped
22       and  contains only black and white, the output is PBM.  If the input is
23       colormapped and contains only black white and gray, the output is  PGM.
24       Otherwise, the output is PPM.
25
26       bmptopnm  understands  BMP  files  compressed  with run length encoding
27       (RLE4/RLE8), but not if that encoding  includes  a  "delta"  (which  is
28       rare).  bmptopnm recognizes the delta and issues an error message.
29
30       Before  Netpbm  10.75 (June 2016), bmptopnm could not convert Version 4
31       or Version 5 Windows BMP images.
32
33       bmptopnm cannot convert BMP files compressed with JPEG or PNG encoding.
34       It  recognizes  the  compression  and  issues an error message.  Before
35       Netpbm 10.32 (February 2006), bmptopnm couldn't convert RLE8 BMP  files
36       either,  and  before  Netpbm 10.85 (December 2018), it couldn't convert
37       RLE4 (between 10.32 and 10.85, it would act like it recognized the for‐
38       mat, but produce garbage output).
39
40       Before  Netpbm  10.18  (September 2003), this program could not convert
41       BMP images with the BI_BITFIELDS format ("compression type").  It would
42       recognize the format and issue an error message.
43
44       bmptopnm  cannot  convert  OS/2  BMP files with 16 bits per pixel (only
45       because the author did not have a complete specification for them).  It
46       recognizes the format and issues an error message.  Before Netpbm 10.16
47       (June 2003), it also could not convert Windows BMP files with  16  bits
48       per pixel.
49
50
51

OPTIONS

53       In  addition  to  the options common to all programs based on libnetpbm
54       (most notably -quiet, see
55        Common Options ⟨index.html#commonoptions⟩ ), bmptopnm  recognizes  the
56       following command line option:
57
58
59
60
61       -verbose
62              Report contents of the BMP header to the standard error.
63
64
65
66

SEE ALSO

68       ppmtobmp(1), ppmtowinicon(1), ppm(1)
69
70

AUTHOR

72       Copyright (C) 1992 by David W. Sanderson.
73

DOCUMENT SOURCE

75       This  manual  page was generated by the Netpbm tool 'makeman' from HTML
76       source.  The master documentation is at
77
78              http://netpbm.sourceforge.net/doc/bmptopnm.html
79
80netpbm documentation           05 December 2018        Bmptopnm User Manual(0)
Impressum