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

pull/23/head
Juri Dispan 2023-11-08 10:05:41 +01:00 committed by GitHub
parent acb9cf419a
commit 7b88278d15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 64 additions and 0 deletions

View File

@ -0,0 +1,8 @@
# pamtoxvmini
> Convert a Netpbm image to an XV thumbnail picture.
> More information: <https://netpbm.sourceforge.net/doc/pamtoxvmini.html>.
- Convert a PAM image to an XV thumbnail picture:
`pamtoxvmini {{path/to/input_file.pam}} > {{path/to/output_file}}`

8
pages/common/pbmtoybm.md Normal file
View File

@ -0,0 +1,8 @@
# pbmtoybm
> Convert a PBM file to a Bennet Yee "face" file.
> More information: <https://netpbm.sourceforge.net/doc/pbmtoybm.html>.
- Convert a PBM image file to YBM:
`pbmtoybm {{path/to/input_file.pbm}} > {{path/to/output_file.ybm}}`

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

View File

@ -0,0 +1,8 @@
# xvminitoppm
> Convert an XV thumbnail picture to PPM.
> More information: <https://netpbm.sourceforge.net/doc/xvminitoppm.html>.
- Convert an XV thumbnail image file to PPM:
`xvminitoppm {{path/to/input_file}} > {{path/to/output_file.ppm}}`

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

@ -0,0 +1,16 @@
# 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 -verbose {{path/to/input_file.xwd}} > {{path/to/output_file.pnm}}`
- Display the contents of the X11 header of the input file:
`xwdtopnm -headerdump {{path/to/input_file.xwd}} > {{path/to/output_file.pnm}}`

8
pages/common/ybmtopbm.md Normal file
View File

@ -0,0 +1,8 @@
# ybmtopbm
> Convert a Bennet Yee "face" file to PBM.
> More information: <https://netpbm.sourceforge.net/doc/ybmtopbm.html>.
- Convert a YBM image file to PBM:
`ybmtopbm {{path/to/input_file.ybm}} > {{path/to/output_file.pbm}}`