Your company here — click to reach over 10,000 unique daily visitors

pbmmake - Man Page

create a blank bitmap of a specified size

Examples (TL;DR)


pbmmake [-white|-black|-gray] width height

You can abbreviate any option to its shortest unique prefix.


This program is part of Netpbm(1).

pbmmake produces a PBM image of the specified width and height, either all black, all white, or a dithered gray.  The default is white.


In addition to the options common to all programs based on libnetpbm (most notably -quiet, see Common Options ), pbmmake recognizes the following command line options:


In addition to the usual -white and -black, this program implements -gray.  This gives a simple 50% gray pattern with 1's and 0's alternating.

With none of the above specified, the output image will be entirely white.

See Also

pgmmake(1), ppmmake(1), pbm(1)


Copyright (C) 1989 by Jef Poskanzer.

Document Source

This manual page was generated by the Netpbm tool 'makeman' from HTML source.  The master documentation is at


Referenced By

pgmmake(1), pnmpad(1), ppmmake(1).

13 December 2003 netpbm documentation