mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 00:42:08 +02:00
pcdindex, pcdovtoppm: add pages (#12389)
This commit is contained in:
parent
dbce41cf59
commit
f956f466ad
2 changed files with 28 additions and 0 deletions
8
pages/common/pcdindex.md
Normal file
8
pages/common/pcdindex.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
# pcdindex
|
||||
|
||||
> This command has been renamed to `pcdovtoppm`.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pcdindex.html>.
|
||||
|
||||
- View documentation for the command under its current name:
|
||||
|
||||
`tldr pcdovtoppm`
|
20
pages/common/pcdovtoppm.md
Normal file
20
pages/common/pcdovtoppm.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# pcdovtoppm
|
||||
|
||||
> Create an index image for a photo CD based on its overview file.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pcdovtoppm.html>.
|
||||
|
||||
- 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}}`
|
Loading…
Add table
Reference in a new issue