pamtoxvmini, pbmtoybm, pnmtoxwd, xvminitoppm, xwdtopnm, ybmtopbm: add pages (#11406)

This commit is contained in:
Juri Dispan
2023-11-08 10:05:41 +01:00
committed by GitHub
parent acb9cf419a
commit 7b88278d15
6 changed files with 64 additions and 0 deletions

16
pages/common/pnmtoxwd.md Normal file
View File

@@ -0,0 +1,16 @@
# pnmtoxwd
> Convert a PNM file into an X11 window dump file.
> More information: <https://netpbm.sourceforge.net/doc/pnmtoxwd.html>.
- Convert a PNM image file to XWD:
`pnmtoxwd {{path/to/input_file.pnm}} > {{path/to/output_file.xwd}}`
- Produce the output in the DirectColor format:
`pnmtoxwd -directcolor {{path/to/input_file.pnm}} > {{path/to/output_file.xwd}}`
- Set the color depth of the output to b bits:
`pnmtoxwd -pseudodepth {{b}} {{path/to/input_file.pnm}} > {{path/to/output_file.xwd}}`