bmptopnm(1)bmptopnm(1)NAME
bmptopnm - convert a BMP(DIB) file into a portable anymap
SYNOPSIS
bmptopnm [options] [bmpfile]
DESCRIPTION
bmptopnm reads a BMP(DIB) file and write portable anymap to standard
output.
If the input file bmpfile is omitted, bmptopnm reads image from stan‐
dard input.
The format of the output file is one of the pbm(5), pgm(5) or ppm(5),
each of which is the binary-type (not ascii). It depends on the depth
and color-type of the input file which format is selected.
OPTIONS-i Invert the pixel value. Black and white is exchanged. This
option is available only for binary images.
-v Show processing information.
-h Show help message.
NOTES
bmptopnm can not read BMP(DIB) file with compressed image.
bmptopnm can not read BMP(DIB) file with Pseudo-color image. Only bit‐
map(1bit), grayscale(8bit), hi-color(16bit without color mask), and
true-color(24bit) are supported.
SEE ALSOpbm(5), pgm(5), ppm(5), pnm(5)AUTHOR
Copyright (C) 1996-2002 Hideaki Goto
E-Mail: hgot@rd.isc.tohoku.ac.jp, hgot@aso.ecei.tohoku.ac.jp
May 2002 bmptopnm(1)