diff --git a/pages/common/pbmtox10bm.md b/pages/common/pbmtox10bm.md new file mode 100644 index 000000000..e11e56d64 --- /dev/null +++ b/pages/common/pbmtox10bm.md @@ -0,0 +1,8 @@ +# pbmtox10bm + +> This command is superseded by `pbmtoxbm -x10`. +> More information: . + +- View documentation for the current command: + +`tldr pbmtoxbm` diff --git a/pages/common/pbmtoxbm.md b/pages/common/pbmtoxbm.md new file mode 100644 index 000000000..4e9c62036 --- /dev/null +++ b/pages/common/pbmtoxbm.md @@ -0,0 +1,12 @@ +# pbmtoxbm + +> Convert a PBM image to a X11 or X10 bitmap. +> More information: . + +- Convert a PPM image to a X11 XBM file: + +`pbmtoxbm {{path/to/input_file.pbm}} > {{path/to/output_file.xbm}}` + +- Explicitly specify whether an X11 or X10 bitmap should be generated: + +`pbmtoxbm -{{x11|x10}} {{path/to/input_file.pbm}} > {{path/to/output_file.xbm}}` diff --git a/pages/common/ppmtoxpm.md b/pages/common/ppmtoxpm.md new file mode 100644 index 000000000..60f61faa6 --- /dev/null +++ b/pages/common/ppmtoxpm.md @@ -0,0 +1,20 @@ +# ppmtoxpm + +> Convert a PPM image to an X11 version 3 pixmap. +> More information: . + +- Convert a PPM image to a XPM image: + +`ppmtoxpm {{path/to/input_file.ppm}} > {{path/to/output_file.xpm}}` + +- Specify the prefix string in the output XPM image: + +`ppmtoxpm -name {{prefix_string}} {{path/to/input_file.ppm}} > {{path/to/output_file.xpm}}` + +- In the output XPM file, specify colors by their hexadecimal code instead of their name: + +`ppmtoxpm -hexonly {{path/to/input_file.ppm}} > {{path/to/output_file.xpm}}` + +- Use the specified PGM file as a transparency mask: + +`ppmtoxpm -alphamask {{path/to/alpha_file.pgm}} {{path/to/input_file.ppm}} > {{path/to/output_file.xpm}}` diff --git a/pages/common/xbmtopbm.md b/pages/common/xbmtopbm.md new file mode 100644 index 000000000..b5bcd8085 --- /dev/null +++ b/pages/common/xbmtopbm.md @@ -0,0 +1,8 @@ +# xbmtopbm + +> Convert an X11 or X10 bitmap to a PBM image. +> More information: . + +- Convert an XBM image to a PPM image: + +`xbmtopbm {{path/to/input_file.xbm}} > {{path/to/output_file.pbm}}` diff --git a/pages/common/ximtoppm.md b/pages/common/ximtoppm.md new file mode 100644 index 000000000..bdbf5a203 --- /dev/null +++ b/pages/common/ximtoppm.md @@ -0,0 +1,12 @@ +# ximtoppm + +> Convert a XIM file to a PPM image. +> More information: . + +- Convert an XIM image to a PPM image: + +`ximtoppm {{path/to/input_file.xim}} > {{path/to/output_file.ppm}}` + +- Store the transparency mask of the input image in the specified file: + +`ximtoppm --alphaout {{path/to/alpha_file.pbm}} {{path/to/input_file.xim}} > {{path/to/output_file.ppm}}` diff --git a/pages/common/xpmtoppm.md b/pages/common/xpmtoppm.md new file mode 100644 index 000000000..c00f8e9a2 --- /dev/null +++ b/pages/common/xpmtoppm.md @@ -0,0 +1,12 @@ +# xpmtoppm + +> Convert an X11 pixmap to a PPM image. +> More information: . + +- Convert an XPM image to a PPM image: + +`xpmtoppm {{path/to/input_file.xpm}} > {{path/to/output_file.ppm}}` + +- Store the transparency mask of the input image in the specified file: + +`xpmtoppm --alphaout {{path/to/alpha_file.pbm}} {{path/to/input_file.xpm}} > {{path/to/output_file.ppm}}`