From 83d378125bc9a6ce3463519b906ddec2beadd799 Mon Sep 17 00:00:00 2001 From: Juri Dispan Date: Fri, 10 Nov 2023 05:18:42 +0100 Subject: [PATCH] ilbmtoppm, pcxtoppm, ppmtoilbm, ppmtoleaf, ppmtomitsu, ppmtompeg, ppmtoneo, ppmtopcx: add pages (#11432) --- pages/common/ilbmtoppm.md | 20 ++++++++++++++++++++ pages/common/pcxtoppm.md | 16 ++++++++++++++++ pages/common/ppmtoilbm.md | 20 ++++++++++++++++++++ pages/common/ppmtoleaf.md | 8 ++++++++ pages/common/ppmtomitsu.md | 16 ++++++++++++++++ pages/common/ppmtompeg.md | 20 ++++++++++++++++++++ pages/common/ppmtoneo.md | 8 ++++++++ pages/common/ppmtopcx.md | 12 ++++++++++++ 8 files changed, 120 insertions(+) create mode 100644 pages/common/ilbmtoppm.md create mode 100644 pages/common/pcxtoppm.md create mode 100644 pages/common/ppmtoilbm.md create mode 100644 pages/common/ppmtoleaf.md create mode 100644 pages/common/ppmtomitsu.md create mode 100644 pages/common/ppmtompeg.md create mode 100644 pages/common/ppmtoneo.md create mode 100644 pages/common/ppmtopcx.md diff --git a/pages/common/ilbmtoppm.md b/pages/common/ilbmtoppm.md new file mode 100644 index 000000000..a49ae175d --- /dev/null +++ b/pages/common/ilbmtoppm.md @@ -0,0 +1,20 @@ +# ilbmtoppm + +> Convert an ILBM file to a PPM image. +> More information: . + +- Convert an ILBM file to a PPM image: + +`ilbmtoppm {{path/to/file.ilbm}} > {{path/to/file.ppm}}` + +- Use the specified color to "show through" where the image is transparent: + +`ilbmtoppm -transparent {{color}} {{path/to/file.ilbm}} > {{path/to/file.ppm}}` + +- Ignore the chunk with the specified chunk ID: + +`ilbmtoppm -ignore {{chunkID}} {{path/to/file.ilbm}} > {{path/to/file.ppm}}` + +- Store the input's transparency information to the specified PBM file: + +`ilbmtoppm -maskfile {{path/to/maskfile.pbm}} {{path/to/file.ilbm}} > {{path/to/file.ppm}}` diff --git a/pages/common/pcxtoppm.md b/pages/common/pcxtoppm.md new file mode 100644 index 000000000..ecfa3f202 --- /dev/null +++ b/pages/common/pcxtoppm.md @@ -0,0 +1,16 @@ +# pcxtoppm + +> Convert a PCX file to a PPM image. +> More information: . + +- Convert a PCX file to a PPM image: + +`pcxtoppm {{path/to/file.pcx}} > {{path/to/file.ppm}}` + +- Use a predefined standard palette even if the PCX file provides one: + +`pcxtoppm -stdpalette {{path/to/file.pcx}} > {{path/to/file.ppm}}` + +- Print information on the PCX header to `stdout`: + +`pcxtoppm -verbose {{path/to/file.pcx}} > {{path/to/file.ppm}}` diff --git a/pages/common/ppmtoilbm.md b/pages/common/ppmtoilbm.md new file mode 100644 index 000000000..644b63554 --- /dev/null +++ b/pages/common/ppmtoilbm.md @@ -0,0 +1,20 @@ +# ppmtoilbm + +> Convert a PPM image to an ILBM file. +> More information: . + +- Convert a PPM image to an ILBM file: + +`ppmtoilbm {{path/to/file.ppm}} > {{path/to/file.ilbm}}` + +- Write a maximum of n planes to the ILBM file and produce a HAM/24bit/direct color file if this number is exceeded: + +`ppmtoilbm -maxplanes {{n}} -{{hamif|24if|dcif}} {{path/to/file.ppm}} > {{path/to/file.ilbm}}` + +- Produce a ILBM file with exactly n planes: + +`ppmtoilbm -fixplanes {{n}} {{path/to/file.ppm}} > {{path/to/file.ilbm}}` + +- Select the compression method to be used: + +`ppmtoilbm -{{compress|nocompress|savemem}} {{path/to/file.ppm}} > {{path/to/file.ilbm}}` diff --git a/pages/common/ppmtoleaf.md b/pages/common/ppmtoleaf.md new file mode 100644 index 000000000..942b9927e --- /dev/null +++ b/pages/common/ppmtoleaf.md @@ -0,0 +1,8 @@ +# ppmtoleaf + +> Convert a PPM image to the Interleaf image format. +> More information: . + +- Convert a PPM image to a LEAF file: + +`ppmtoleaf {{path/to/file.ppm}} > {{path/to/file.leaf}}` diff --git a/pages/common/ppmtomitsu.md b/pages/common/ppmtomitsu.md new file mode 100644 index 000000000..fcbda5135 --- /dev/null +++ b/pages/common/ppmtomitsu.md @@ -0,0 +1,16 @@ +# ppmtomitsu + +> Convert a PPM image to a Mitsubishi S340-10 file. +> More information: . + +- Convert a PPM image to a MITSU file: + +`ppmtomitsu {{path/to/file.ppm}} > {{path/to/file.mitsu}}` + +- Enlarge the image by the specified factor, use the specified sharpness and produce n copies: + +`ppmtomitsu -enlarge {{1|2|3}} -sharpness {{1|2|3|4}} -copy {{n}} {{path/to/file.ppm}} > {{path/to/file.mitsu}}` + +- Specify the media that will be used for the printing process: + +`ppmtomitsu -media {{A|A4|AS|A4S}} {{path/to/file.ppm}} > {{path/to/file.mitsu}}` diff --git a/pages/common/ppmtompeg.md b/pages/common/ppmtompeg.md new file mode 100644 index 000000000..383c1c369 --- /dev/null +++ b/pages/common/ppmtompeg.md @@ -0,0 +1,20 @@ +# ppmtompeg + +> Encode an MPEG-1 stream. +> More information: . + +- Produce an MPEG-1 stream using the parameter file to specify inputs and outputs: + +`ppmtompeg {{path/to/parameter_file}}` + +- Encode the GOP with the specified number only: + +`ppmtompeg -gop {{gop_num}} {{path/to/parameter_file}}` + +- Specify the first and last frame to encode: + +`ppmtompeg -frames {{first_frame}} {{last_frame}} {{path/to/parameter_file}}` + +- Combine multiple MPEG frames into a single MPEG-1 stream: + +`ppmtompeg -combine_frames {{path/to/parameter_file}}` diff --git a/pages/common/ppmtoneo.md b/pages/common/ppmtoneo.md new file mode 100644 index 000000000..ba0f27df9 --- /dev/null +++ b/pages/common/ppmtoneo.md @@ -0,0 +1,8 @@ +# ppmtoneo + +> Convert a PPM image to an Atari Neochrome file. +> More information: . + +- Convert a PPM image to a NEO file: + +`ppmtoneo {{path/to/file.ppm}} > {{path/to/file.neo}}` diff --git a/pages/common/ppmtopcx.md b/pages/common/ppmtopcx.md new file mode 100644 index 000000000..07392fb1f --- /dev/null +++ b/pages/common/ppmtopcx.md @@ -0,0 +1,12 @@ +# ppmtopcx + +> Convert a PPM image to a PCX file. +> More information: . + +- Convert a PPM image to a PCX file: + +`ppmtopcx {{path/to/file.ppm}} > {{path/to/file.pcx}}` + +- Produce a PCX file with the specified color depth: + +`ppmtopcx -{{8bit|24bit}} {{path/to/file.ppm}} > {{path/to/file.pcx}}`