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       bmptopnm cannot convert BMP files compressed with JPEG or PNG encoding.
31       It recognizes the compression and  issues  an  error  message.   Before
32       Netpbm  10.32  (February 2006), bmptopnm couldn't convert RLE BMP files
33       either.
34
35       Before Netpbm 10.18 (September 2003), this program  could  not  convert
36       BMP images with the BI_BITFIELDS format ("compression type").  It would
37       recognize the format and issue an error message.
38
39       bmptopnm cannot convert OS/2 BMP files with 16  bits  per  pixel  (only
40       because the author did not have a complete specification for them).  It
41       recognizes the format and issues an error message.  Before Netpbm 10.16
42       (June  2003),  it also could not convert Windows BMP files with 16 bits
43       per pixel.
44
45
46

SEE ALSO

48       ppmtobmp(1), ppmtowinicon(1), ppm(1)
49
50

AUTHOR

52       Copyright (C) 1992 by David W. Sanderson.
53
54
55
56netpbm documentation           20 September 2010       Bmptopnm User Manual(0)
Impressum