.TL Bmptopnm User Manual .SH 1 bmptopnm .LP Updated: 24 February 2006 .br Table Of Contents .SH 2 NAME .LP bmptopnm - convert a BMP file into a PBM, PGM, or PNM image .SH 2 SYNOPSIS .LP \fBbmptopnm\fR [\fIbmpfile\fR] .SH 2 DESCRIPTION .LP .LP This program is part of Netpbm. .LP \fBbmptopnm\fR reads a Microsoft Windows or OS/2 BMP file as input. and produces a PBM, PGM, or PNM image as output. If the input is colormapped and contains only black and white, the output is PBM. If the input is colormapped and contains only black white and gray, the output is PGM. Otherwise, the output is PPM. .LP \fBbmptopnm\fR understands BMP files compressed with run length encoding (RLE4/RLE8), but not if that encoding includes a "delta" (which is rare). \fBbmptopnm\fR recognizes the delta and issues an error message. .LP \fBbmptopnm\fR cannot convert BMP files compressed with JPEG or PNG encoding. It recognizes the compression and issues an error message. Before Netpbm 10.32 (February 2006), \fBbmptopnm\fR couldn't convert RLE BMP files either. .LP Before Netpbm 10.18 (September 2003), this program could not convert BMP images with the BI_BITFIELDS format ("compression type"). It would recognize the format and issue an error message. .LP \fBbmptopnm\fR cannot convert OS/2 BMP files with 16 bits per pixel (only because the author did not have a complete specification for them). It recognizes the format and issues an error message. Before Netpbm 10.16 (June 2003), it also could not convert Windows BMP files with 16 bits per pixel. .SH 2 SEE ALSO .LP \fBppmtobmp\fR, \fBppmtowinicon\fR, \fBppm\fR .SH 2 AUTHOR .LP Copyright (C) 1992 by David W. Sanderson. .br \l'5i' .SH 2 Table Of Contents .LP .IP \(bu SYNOPSIS .IP \(bu DESCRIPTION .IP \(bu SEE ALSO .IP \(bu AUTHOR .LP