1Bmptopnm User Manual(0) Bmptopnm User Manual(0)
2
3
4
6 bmptopnm - convert a BMP file into a PBM, PGM, or PNM image
7
8
10 bmptopnm [bmpfile]
11
12
14 This program is part of Netpbm(1).
15
16 bmptopnm reads a Microsoft Windows or OS/2 BMP file as input. and pro‐
17 duces a PBM, PGM, or PNM image as output. If the input is colormapped
18 and contains only black and white, the output is PBM. If the input is
19 colormapped and contains only black white and gray, the output is PGM.
20 Otherwise, the output is PPM.
21
22 bmptopnm understands BMP files compressed with run length encoding
23 (RLE4/RLE8), but not if that encoding includes a 'delta' (which is
24 rare). bmptopnm recognizes the delta and issues an error message.
25
26 bmptopnm cannot convert BMP files compressed with JPEG or PNG encoding.
27 It recognizes the compression and issues an error message. Before
28 Netpbm 10.32 (February 2006), bmptopnm couldn't convert RLE BMP files
29 either.
30
31 Before Netpbm 10.18 (September 2003), this program could not convert
32 BMP images with the BI_BITFIELDS format ("compression type"). It would
33 recognize the format and issue an error message.
34
35 bmptopnm cannot convert OS/2 BMP files with 16 bits per pixel (only
36 because the author did not have a complete specification for them). It
37 recognizes the format and issues an error message. Before Netpbm 10.16
38 (June 2003), it also could not convert Windows BMP files with 16 bits
39 per pixel.
40
41
42
44 ppmtobmp(1), ppmtowinicon(1), ppm(1)
45
46
48 Copyright (C) 1992 by David W. Sanderson.
49
50
51
52netpbm documentation 24 February 2006 Bmptopnm User Manual(0)