xwdtopnm(1) - man - phpman

Look up a command

 

Markdown Format | JSON API | MCP Server Tool | Cheat Sheet


TLDR: xwdtopnm (tldr-pages)

Convert an X11 or X10 window dump file to PNM.

  • 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}}
xwdtopnm(1)                            General Commands Manual                           xwdtopnm(1)



NAME
       xwdtopnm - convert a X11 or X10 window dump file into a portable anymap

SYNOPSIS
       xwdtopnm [xwdfile]

DESCRIPTION
       Reads  a  X11  or  X10 window dump file as input.  Produces a portable anymap as output.  The
       type of the output file depends on the input file - if it's black &  white,  a  pbm  file  is
       written,  else  if  it's  grayscale a pgm file, else a ppm file.  The program tells you which
       type it is writing.

       Using this program, you can convert anything on an X workstation's  screen  into  an  anymap.
       Just  display whatever you're interested in, do an xwd, run it through xwdtopnm, and then use
       pnmcut to select the part you want.

BUGS
       I haven't tested this tool with very many configurations, so there are probably bugs.  Please
       let me know if you find any.

SEE ALSO
       pnmtoxwd(1), pnm(5), xwd(1)

AUTHOR
       Copyright (C) 1989, 1991 by Jef Poskanzer.



                                           11 January 1991                               xwdtopnm(1)

Generated by phpMan Author: Che Dong Under GNU General Public License
2026-06-02 17:41 @216.73.216.151 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!