HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pcdovtoppm — Create an index image for a photo CD based on its overview file. More information: <https://netpbm.s

Submitted by: @import:tldr-pages··
0
Viewed 0 times
createcommandindexphotocliimagepcdovtoppmfor

Problem

How to use the pcdovtoppm command: Create an index image for a photo CD based on its overview file. More information: <https://netpbm.sourceforge.net/doc/pcdovtoppm.html>.

Solution

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 maximum width of the output image and the maximum size of each of the images contained in the output:
pcdovtoppm {{[-m|-maxwidth]}} {{width}} {{[-s|-size]}} {{size}} {{path/to/file.pcd}} > {{path/to/output.ppm}}


Specify the maximum number of images across and the maximum number of colours:
pcdovtoppm {{[-a|-across]}} {{n_images}} {{[-c|-colors]}} {{n_colours}} {{path/to/file.pcd}} > {{path/to/output.ppm}}


Use the specified font for annotations and paint the background white:
pcdovtoppm {{[-f|-font]}} {{font}} {{[-w|-white]}} {{path/to/file.pcd}} > {{path/to/output.ppm}}

Code Snippets

Create a PPM index image from a PCD overview file

pcdovtoppm {{path/to/file.pcd}} > {{path/to/output.ppm}}

Specify the maximum width of the output image and the maximum size of each of the images contained in the output

pcdovtoppm {{[-m|-maxwidth]}} {{width}} {{[-s|-size]}} {{size}} {{path/to/file.pcd}} > {{path/to/output.ppm}}

Specify the maximum number of images across and the maximum number of colours

pcdovtoppm {{[-a|-across]}} {{n_images}} {{[-c|-colors]}} {{n_colours}} {{path/to/file.pcd}} > {{path/to/output.ppm}}

Use the specified font for annotations and paint the background white

pcdovtoppm {{[-f|-font]}} {{font}} {{[-w|-white]}} {{path/to/file.pcd}} > {{path/to/output.ppm}}

Context

tldr-pages: common/pcdovtoppm

Revisions (0)

No revisions yet.