# pcdovtoppm - man(1) - [phpMan]

> **TLDR:** Create an index image for a photo CD based on its overview file.
>
- 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}}`

*Source: tldr-pages*

---

_Pcdovtoppm_ _User_ [_Manual_(1)](https://www.chedong.com/phpMan.php/man/Manual/1/markdown)              General Commands Manual             _Pcdovtoppm_ _User_ [_Manual_(1)](https://www.chedong.com/phpMan.php/man/Manual/1/markdown)

## NAME
       pcdovtoppm - create index image for a photo CD


## SYNOPSIS
       **pcdovtoppm **[**-m _**width_] [**-s _**size_] [**-a _**across_] [**-c _**colors_] [**-f _**font_] [**-b**|**-w**] [_pcdfile_]



## DESCRIPTION
       This program is part of [**Netpbm**(1)](https://www.chedong.com/phpMan.php/man/Netpbm/1/markdown).

       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](index.html#commonoptions) ), **pcdovtoppm **recognizes the following command line options:



### -w_
              Maximum width of the result image (default: 1152).

### -s_

### -a_
              Maximum number of images across (default: 6).

### -c_
              Maximum number of colors, or **n**

              to mean no quantization

### -f_

### -b     

### -w     



       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)](https://www.chedong.com/phpMan.php/man/hpcdtoppm/1/markdown), [**pnmindex**(1)](https://www.chedong.com/phpMan.php/man/pnmindex/1/markdown), [**ppmtojpeg**(1)](https://www.chedong.com/phpMan.php/man/ppmtojpeg/1/markdown), [**ppm**(1)](https://www.chedong.com/phpMan.php/man/ppm/1/markdown)

## DOCUMENT SOURCE
       This  manual  page  was  generated by the Netpbm tool 'makeman' from HTML source.  The master
       documentation is at

              **<http://netpbm.sourceforge.net/doc/pcdovtoppm.html>**

netpbm documentation                       02 August 2020                  _Pcdovtoppm_ _User_ [_Manual_(1)](https://www.chedong.com/phpMan.php/man/Manual/1/markdown)
