From 15949a7e470db8509f043272c89301c5c538aae1 Mon Sep 17 00:00:00 2001 From: Juri Dispan Date: Sat, 28 Dec 2024 13:44:56 +0100 Subject: [PATCH] ppmtopjxl, ppmwheel, ppmtoapplevol: add pages (#15355) * fix ci * ppmtopjxl, ppmwheel, ppmtoapplevol: add pages --- pages/common/ppmtoapplevol.md | 8 ++++++++ pages/common/ppmtopjxl.md | 20 ++++++++++++++++++++ pages/common/ppmwheel.md | 16 ++++++++++++++++ 3 files changed, 44 insertions(+) create mode 100644 pages/common/ppmtoapplevol.md create mode 100644 pages/common/ppmtopjxl.md create mode 100644 pages/common/ppmwheel.md diff --git a/pages/common/ppmtoapplevol.md b/pages/common/ppmtoapplevol.md new file mode 100644 index 0000000000..96187aadec --- /dev/null +++ b/pages/common/ppmtoapplevol.md @@ -0,0 +1,8 @@ +# ppmtoapplevol + +> Convert a PPM image into an Apple volume label image. +> More information: . + +- Convert a PPM image into an Apple volume label image: + +`ppmtoapplevol {{path/to/image.ppm}} > {{path/to/output}}` diff --git a/pages/common/ppmtopjxl.md b/pages/common/ppmtopjxl.md new file mode 100644 index 0000000000..fcad0fcd43 --- /dev/null +++ b/pages/common/ppmtopjxl.md @@ -0,0 +1,20 @@ +# ppmtopjxl + +> Convert a PPM image into an HP PaintJet XL PCL file. +> More information: . + +- Convert a PPM image into an PJXL file: + +`ppmtopjxl {{path/to/image.ppm}} > {{path/to/output.pjxl}}` + +- Resize the input image: + +`ppmtopjxl -xsize {{10cm}} -ysize {{5cm}} {{path/to/image.ppm}} > {{path/to/output.pjxl}}` + +- Shift the input image: + +`ppmtopjxl -xshift {{10pt}} -yshift {{5pt}} {{path/to/image.ppm}} > {{path/to/output.pjxl}}` + +- Do not use the normal TIFF 4.0 compression method: + +`ppmtopjxl -nopack {{path/to/image.ppm}} > {{path/to/output.pjxl}}` diff --git a/pages/common/ppmwheel.md b/pages/common/ppmwheel.md new file mode 100644 index 0000000000..1f0fe53190 --- /dev/null +++ b/pages/common/ppmwheel.md @@ -0,0 +1,16 @@ +# ppmwheel + +> Generate a PPM image of a color wheel. +> More information: . + +- Generate a color wheel of type `Ppmcirc`: + +`ppmwheel {{diameter}} > {{path/to/output.ppm}}` + +- Generate a color wheel of type `Hue-value`: + +`ppmwheel -huevalue {{diameter}} > {{path/to/output.ppm}}` + +- Generate a color wheel of type `Hue-saturation`: + +`ppmwheel -huesaturation {{diameter}} > {{path/to/output.ppm}}`