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 standard 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 bitmap(1bit), grayscale(8bit), hi-color(16bit without color mask), and true-color(24bit) are supported.

SEE ALSO
pbm(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