From f956f466adb83f948b1c0383f6f038e63684b6b6 Mon Sep 17 00:00:00 2001 From: Juri Dispan Date: Mon, 4 Mar 2024 07:45:46 +0100 Subject: [PATCH] pcdindex, pcdovtoppm: add pages (#12389) --- pages/common/pcdindex.md | 8 ++++++++ pages/common/pcdovtoppm.md | 20 ++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 pages/common/pcdindex.md create mode 100644 pages/common/pcdovtoppm.md diff --git a/pages/common/pcdindex.md b/pages/common/pcdindex.md new file mode 100644 index 000000000..fe95dd16a --- /dev/null +++ b/pages/common/pcdindex.md @@ -0,0 +1,8 @@ +# pcdindex + +> This command has been renamed to `pcdovtoppm`. +> More information: . + +- View documentation for the command under its current name: + +`tldr pcdovtoppm` diff --git a/pages/common/pcdovtoppm.md b/pages/common/pcdovtoppm.md new file mode 100644 index 000000000..0e9dde660 --- /dev/null +++ b/pages/common/pcdovtoppm.md @@ -0,0 +1,20 @@ +# pcdovtoppm + +> Create an index image for a photo CD based on its overview file. +> More information: . + +- Create a PPM index image from a PCD overview file: + +`pcdovtoppm {{path/to/file.pcd}} > {{path/to/output.ppm}}` + +- Specify the [m]aximum width of the output image and the maximum [s]ize of each of the images contained in the output: + +`pcdovtoppm -m {{width}} -s {{size}} {{path/to/file.pcd}} > {{path/to/output.ppm}}` + +- Specify the maximum number of images [a]cross and the maximum number of [c]olours: + +`pcdovtoppm -a {{n_images}} -c {{n_colours}} {{path/to/file.pcd}} > {{path/to/output.ppm}}` + +- Use the specified [f]ont for annotations and paint the background [w]hite: + +`pcdovtoppm -a {{number}} -w {{path/to/file.pcd}} > {{path/to/output.ppm}}`