# phpman > man > pbmtoxbm(1)

> **TLDR:** Convert a PBM image to a X11 or X10 bitmap.
>
- Convert a PBM image to a X11 XBM file:
  `pbmtoxbm {{path/to/input_file.pbm}} > {{path/to/output_file.xbm}}`
- Explicitly specify whether an X11 or X10 bitmap should be generated:
  `pbmtoxbm -{{x11|x10}} {{path/to/input_file.pbm}} > {{path/to/output_file.xbm}}`

*Source: tldr-pages*

---

[pbmtoxbm(1)](https://www.chedong.com/phpMan.php/man/pbmtoxbm/1/markdown)                            General Commands Manual                           [pbmtoxbm(1)](https://www.chedong.com/phpMan.php/man/pbmtoxbm/1/markdown)



## NAME
       pbmtoxbm - convert a portable bitmap into an X11 bitmap

## SYNOPSIS
       **pbmtoxbm** [_pbmfile_]

## DESCRIPTION
       Reads a portable bitmap as input.  Produces an X11 bitmap as output.

## SEE ALSO
       [pbmtox10bm(1)](https://www.chedong.com/phpMan.php/man/pbmtox10bm/1/markdown), [xbmtopbm(1)](https://www.chedong.com/phpMan.php/man/xbmtopbm/1/markdown), [pbm(5)](https://www.chedong.com/phpMan.php/man/pbm/5/markdown)

## AUTHOR
       Copyright (C) 1988 by Jef Poskanzer.



                                           31 August 1988                                [pbmtoxbm(1)](https://www.chedong.com/phpMan.php/man/pbmtoxbm/1/markdown)
