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

xwdtopnm — Convert an X11 or X10 window dump file to PNM. More information: <https://netpbm.sourceforge.net/doc

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

Problem

How to use the xwdtopnm command: Convert an X11 or X10 window dump file to PNM. More information: <https://netpbm.sourceforge.net/doc/xwdtopnm.html>.

Solution

xwdtopnm — Convert an X11 or X10 window dump file to PNM. More information: <https://netpbm.sourceforge.net/doc/xwdtopnm.html>.

Convert a XWD image file to PBM:
xwdtopnm {{path/to/input_file.xwd}} > {{path/to/output_file.pnm}}


Display information about the conversion process:
xwdtopnm {{[-verb|-verbose]}} {{path/to/input_file.xwd}} > {{path/to/output_file.pnm}}


Display the contents of the X11 header of the input file:
xwdtopnm {{[-h|-headerdump]}} {{path/to/input_file.xwd}} > {{path/to/output_file.pnm}}

Code Snippets

Convert a XWD image file to PBM

xwdtopnm {{path/to/input_file.xwd}} > {{path/to/output_file.pnm}}

Display information about the conversion process

xwdtopnm {{[-verb|-verbose]}} {{path/to/input_file.xwd}} > {{path/to/output_file.pnm}}

Display the contents of the X11 header of the input file

xwdtopnm {{[-h|-headerdump]}} {{path/to/input_file.xwd}} > {{path/to/output_file.pnm}}

Context

tldr-pages: common/xwdtopnm

Revisions (0)

No revisions yet.