pbmtobbnbg

Convert a PBM image to a BitGraph graphic. More information: https://netpbm.sourceforge.net/doc/pbmtobbnbg.html.

pbmtobbnbg < path/to/image.pbm > path/to/output.dpd

pbmtobbnbg 3 < path/to/image.pbm > path/to/output.dpd