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 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
Synopsis
pcdovtoppm [-maxwidth width] [-size size] [-across across] [-colors colors] [-font font] [-black |-white] [pcdfile]
Minimum unique abbreviations of options are acceptable.
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:
Where options conflict, the rightmost one takes precedence.
- -maxwidth width
Maximum width of the result image (default: 1152).
- -size size
Maximum size of each of the images (default: 192).
- -across across
Maximum number of images across (default: 6).
- -colors colors
Maximum number of colors, or noquant to mean no quantization
- -font font
Font to be used for annotation (default: internal font).
- -black
Black background color (default).
This is the default.
- -white
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