HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pbmtoxbm — Convert a PBM image to a X11 or X10 bitmap. More information: <https://netpbm.sourceforge.net/doc/pb

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandpbmtoxbmconvertx10cliimagepbmx11

Problem

How to use the pbmtoxbm command: Convert a PBM image to a X11 or X10 bitmap. More information: <https://netpbm.sourceforge.net/doc/pbmtoxbm.html>.

Solution

pbmtoxbm — Convert a PBM image to a X11 or X10 bitmap. More information: <https://netpbm.sourceforge.net/doc/pbmtoxbm.html>.

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}}

Code Snippets

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}}

Context

tldr-pages: common/pbmtoxbm

Revisions (0)

No revisions yet.