# 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_ _User_ [_Manual_(1)](https://www.chedong.com/phpMan.php/man/Manual/1/markdown)                General Commands Manual               _Pbmtoxbm_ _User_ [_Manual_(1)](https://www.chedong.com/phpMan.php/man/Manual/1/markdown)

## NAME
       pbmtoxbm - convert a PBM image to an X11 bitmap


## SYNOPSIS
### pbmtoxbm

       [{**-x10**|**-x11**}]

       [_pbmfile_]


## DESCRIPTION
       This program is part of [**Netpbm**(1)](https://www.chedong.com/phpMan.php/man/Netpbm/1/markdown).

       **pbmtoxbm **reads a PBM image as input and produces an X10 or X11 bitmap as output.


## OPTIONS
       In  addition  to  the options common to all programs based on libnetpbm (most notably **-quiet**,
       see ]8;;index.html#commonoptions\ Common Options]8;;\ ), **pbmtoxbm **recognizes the following command line options:



### -x10   

              You may not specify this with **-x11**.

              This option was new with Netpbm 10.37 (December 2006).  Before  that,  use  **pbmtox10bm**
              instead.


### -x11   

              You may not specify this with **-x10**.

              The X11 version is the default, so this option has no effect.

              This option was new with Netpbm 10.37 (December 2006).




## 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**(1)](https://www.chedong.com/phpMan.php/man/pbm/1/markdown)


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

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

              **<http://netpbm.sourceforge.net/doc/pbmtoxbm.html>**

netpbm documentation                       25 October 2006                   _Pbmtoxbm_ _User_ [_Manual_(1)](https://www.chedong.com/phpMan.php/man/Manual/1/markdown)
