pcdovtoppm - Man Page
create index image for a photo CD
Examples (TL;DR)
- 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 -f font -w path/to/file.pcd > path/to/output.ppm
Synopsis
pcdovtoppm [-m width] [-s size] [-a across] [-c colors] [-f font] [-b|-w] [pcdfile]
Description
This program is part of Netpbm(1).
This program generates an index image in PPM format for a photo CD, based on the photo CD overview file.
You can achieve a similar result with hpcdtoppm -Overview followed by pnmindex -black on the generated PPM images.
Options
In addition to the options common to all programs based on libnetpbm (most notably -quiet, see Common Options ), pcdovtoppm recognizes the following command line options:
- -wwidth
Maximum width of the result image (default: 1152).
- -ssize
Maximum size of each of the images (default: 192).
- -aacross
Maximum number of images across (default: 6).
- -ccolors
Maximum number of colors, or n
to mean no quantization
- -ffont
Font to be used for annotation (default: internal font).
- -b
Black background color (default).
- -w
White background color.
The Netpbm common options -version, -plain and -quiet were implemented starting with Netpbm 10.91 (June 2020). Before that, none of these options were valid.
Examples
pcdovtoppm -m 768 -s 96 -f smallfont.pbm overview.pcd > overview.ppm
pcdovtoppm /cdrom/photo_cd/overview.pcd | ppmtojpeg > overview.jpg
History
This program was formerly called pcdindex, which did not fit Netpbm naming conventions.
See Also
hpcdtoppm(1), pnmindex(1), ppmtojpeg(1), ppm(1)
Document Source
This manual page was generated by the Netpbm tool 'makeman' from HTML source. The master documentation is at