---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# pbmtobbnbg

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

- Convert a PBM image to a BitGraph terminal Display Pixel Data sequence:

`pbmtobbnbg < {{path/to/image.pbm}} > {{path/to/output.dpd}}`

- Specify the rasterop:

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