{
    "mode": "man",
    "parameter": "pcdovtoppm",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/pcdovtoppm/1/json",
    "generated": "2026-09-03T16:10:54Z",
    "synopsis": "pcdovtoppm [-m width] [-s size] [-a across] [-c colors] [-f font] [-b|-w] [pcdfile]",
    "sections": {
        "NAME": {
            "content": "pcdovtoppm - create index image for a photo CD\n\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "pcdovtoppm [-m width] [-s size] [-a across] [-c colors] [-f font] [-b|-w] [pcdfile]\n\n\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This program is part of Netpbm(1).\n\nThis  program  generates  an  index image in PPM format for a photo CD, based on the photo CD\noverview file.\n\nYou can achieve a similar result with hpcdtoppm -Overview followed by pnmindex -black on  the\ngenerated PPM images.\n\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "In  addition  to  the options common to all programs based on libnetpbm (most notably -quiet,\nsee \u001b]8;;index.html#commonoptions\u001b\\ Common Options\u001b]8;;\u001b\\ ), pcdovtoppm recognizes the following command line options:\n\n\n",
            "subsections": [
                {
                    "name": "-w_",
                    "content": "Maximum width of the result image (default: 1152).\n"
                },
                {
                    "name": "-s_",
                    "content": ""
                },
                {
                    "name": "-a_",
                    "content": "Maximum number of images across (default: 6).\n"
                },
                {
                    "name": "-c_",
                    "content": "Maximum number of colors, or n\n\nto mean no quantization\n"
                },
                {
                    "name": "-f_",
                    "content": ""
                },
                {
                    "name": "-b",
                    "content": "",
                    "flag": "-b"
                },
                {
                    "name": "-w",
                    "content": "The Netpbm common options -version, -plain and -quiet were implemented starting  with  Netpbm\n10.91 (June 2020).  Before that, none of these options were valid.\n\n\n",
                    "flag": "-w"
                }
            ]
        },
        "EXAMPLES": {
            "content": "",
            "subsections": [
                {
                    "name": "pcdovtoppm -m 768 -s 96 -f smallfont.pbm overview.pcd > overview.ppm",
                    "content": ""
                },
                {
                    "name": "pcdovtoppm /cdrom/photo_cd/overview.pcd | ppmtojpeg > overview.jpg",
                    "content": ""
                }
            ]
        },
        "HISTORY": {
            "content": "This program was formerly called pcdindex, which did not fit Netpbm naming conventions.\n\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "hpcdtoppm(1), pnmindex(1), ppmtojpeg(1), ppm(1)\n",
            "subsections": []
        },
        "DOCUMENT SOURCE": {
            "content": "This  manual  page  was  generated by the Netpbm tool 'makeman' from HTML source.  The master\ndocumentation is at\n\nhttp://netpbm.sourceforge.net/doc/pcdovtoppm.html\n\nnetpbm documentation                       02 August 2020                  Pcdovtoppm User Manual(1)",
            "subsections": []
        }
    },
    "summary": "pcdovtoppm - create index image for a photo CD",
    "flags": [
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Maximum width of the result image (default: 1152)."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Maximum number of images across (default: 6)."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Maximum number of colors, or n to mean no quantization"
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-b",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-w",
            "long": null,
            "arg": null,
            "description": "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": [],
    "see_also": [
        {
            "name": "hpcdtoppm",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/hpcdtoppm/1/json"
        },
        {
            "name": "pnmindex",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pnmindex/1/json"
        },
        {
            "name": "ppmtojpeg",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ppmtojpeg/1/json"
        },
        {
            "name": "ppm",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ppm/1/json"
        }
    ],
    "tldr": {
        "source": "official",
        "description": "Create an index image for a photo CD based on its overview file.",
        "examples": [
            {
                "description": "Create a PPM index image from a PCD overview file",
                "command": "pcdovtoppm {{path/to/file.pcd}} > {{path/to/output.ppm}}"
            },
            {
                "description": "Specify the maximum width of the output image and the maximum size of each of the images contained in the output",
                "command": "pcdovtoppm {{-m|-maxwidth}} {{width}} {{-s|-size}} {{size}} {{path/to/file.pcd}} > {{path/to/output.ppm}}"
            },
            {
                "description": "Specify the maximum number of images across and the maximum number of colours",
                "command": "pcdovtoppm {{-a|-across}} {{n_images}} {{-c|-colors}} {{n_colours}} {{path/to/file.pcd}} > {{path/to/output.ppm}}"
            },
            {
                "description": "Use the specified font for annotations and paint the background white",
                "command": "pcdovtoppm {{-f|-font}} {{font}} {{-w|-white}} {{path/to/file.pcd}} > {{path/to/output.ppm}}"
            }
        ]
    }
}