Files
tldr/pages.zh/common/xwdtopnm.md

16 lines
482 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# xwdtopnm
> 将 X11 或 X10 窗口转储文件转换为 PNM。
> 更多信息:<https://netpbm.sourceforge.net/doc/xwdtopnm.html>。
- 将 XWD 图像文件转换为 PBM
`xwdtopnm {{path/to/input_file.xwd}} > {{path/to/output_file.pnm}}`
- 显示转换过程的信息:
`xwdtopnm -verbose {{path/to/input_file.xwd}} > {{path/to/output_file.pnm}}`
- 显示输入文件的 X11 头部内容:
`xwdtopnm -headerdump {{path/to/input_file.xwd}} > {{path/to/output_file.pnm}}`