LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pcdovtoppm

Create an index image for a Kodak Photo CD

TLDR

Generate an index image from a Photo CD overview file
$ pcdovtoppm [overview.pcd] > [index.ppm]
copy
Set maximum width of the result image
$ pcdovtoppm -m 768 [overview.pcd] > [index.ppm]
copy
Set thumbnail size and images per row
$ pcdovtoppm -s 96 -a 4 [overview.pcd] > [index.ppm]
copy
Use a custom font for annotations with white background
$ pcdovtoppm -f [smallfont.pbm] -w [overview.pcd] > [index.ppm]
copy

SYNOPSIS

pcdovtoppm [-m width] [-s size] [-a across] [-c colors] [-f font] [-b|-w] [pcdfile]

DESCRIPTION

pcdovtoppm generates an index image in PPM format from a Kodak Photo CD overview file. It arranges the thumbnail images from the Photo CD into a grid, optionally annotated with image numbers using a configurable font. This program was formerly called pcdindex. It is part of the Netpbm toolkit.

PARAMETERS

-m width

Maximum width of the result image (default: 1152).
-s size
Maximum size of each thumbnail image in pixels (default: 192).
-a across
Maximum number of images per row (default: 6).
-c colors
Maximum number of colors in the output, or n to disable quantization.
-f font
PBM font file to use for annotation (default: internal font).
-b
Use black background (default).
-w
Use white background.

CAVEATS

Requires a valid Photo CD overview file as input. The output is in PPM format and may need conversion for other uses. Photo CD is an obsolete format from the 1990s.

HISTORY

pcdovtoppm was originally named pcdindex and was renamed to conform to Netpbm naming conventions, where converter programs follow the pattern sourcetodest.

SEE ALSO

Copied to clipboard
Kai