{
    "content": [
        {
            "type": "text",
            "text": "# pamdice(1) (man)\n\n**Summary:** pamdice - slice a Netpbm image into many horizontally and/or vertically\n\n**Synopsis:** pamslice -outstem=filenamestem [-width=width] [-height=height] [-verbose] [filename]\nYou  can use the minimum unique abbreviation of the options.  You can use two hyphens instead\nof one.  You can separate an option name from its value with white space instead of an equals\nsign.\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| — | — | — | This option determines the names of the output files. Each output file is named file‐ namestemyx.type where filenamestem |\n| — | — | — | gives the width in pixels of the output images. The rightmost pieces are smaller than this if the input image is not a m |\n| — | — | — | gives the height in pixels of the output images. The bottom pieces are smaller than this if the input image is not a mul |\n| — | — | — | Print information about the processing to Standard Error. |\n\n## See Also\n\n- pamcut(1)\n- pnmcat(1)\n- pgmslice(1)\n- pnm(5)\n\n## Section Outline\n\n- **NAME** (3 lines)\n- **SYNOPSIS** (7 lines)\n- **DESCRIPTION** (10 lines)\n- **OPTIONS** (1 lines) — 4 subsections\n  - -outstem= (7 lines)\n  - -width= (4 lines)\n  - -height= (4 lines)\n  - -verbose (3 lines)\n- **SEE ALSO** (3 lines)\n- **AUTHOR** (5 lines)\n\n## Full Content\n\n### NAME\n\npamdice - slice a Netpbm image into many horizontally and/or vertically\n\n### SYNOPSIS\n\npamslice -outstem=filenamestem [-width=width] [-height=height] [-verbose] [filename]\n\nYou  can use the minimum unique abbreviation of the options.  You can use two hyphens instead\nof one.  You can separate an option name from its value with white space instead of an equals\nsign.\n\n### DESCRIPTION\n\nReads  a PAM, PBM, PGM, or PPM image as input.  Splits it horizontally and/or vertically into\nequal size pieces and writes them into separate files as the same kind of image.\n\nSee the -outstem option for information on naming of the output files.\n\nThe -width and -height options determine the size of the output pieces.\n\npnmcat can rejoin the images.\n\n### OPTIONS\n\n#### -outstem=\n\nThis option determines the names of the output files.  Each output file is named file‐\nnamestemyx.type  where filenamestem is the value of the -outstem option, x and y are\nthe horizontal and vertical locations, respectively, in the input image of the  output\nimage, zero being the leftmost and top, and type is .pbm, .pgm, .ppm, or .pam, depend‐\ning on the type of image.\n\n#### -width=\n\ngives the width in pixels of the output images.  The rightmost pieces are smaller than\nthis if the input image is not a multiple of width pixels wide.\n\n#### -height=\n\ngives  the  height in pixels of the output images.  The bottom pieces are smaller than\nthis if the input image is not a multiple of height pixels high.\n\n#### -verbose\n\nPrint information about the processing to Standard Error.\n\n### SEE ALSO\n\npamcut(1), pnmcat(1), pgmslice(1), pnm(5)\n\n### AUTHOR\n\nput by Bryan Henderson in the public domain in 2001\n\n\n\n31 January 2001                                pamdice(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "pamdice",
        "section": "1",
        "mode": "man",
        "summary": "pamdice - slice a Netpbm image into many horizontally and/or vertically",
        "synopsis": "pamslice -outstem=filenamestem [-width=width] [-height=height] [-verbose] [filename]\nYou  can use the minimum unique abbreviation of the options.  You can use two hyphens instead\nof one.  You can separate an option name from its value with white space instead of an equals\nsign.",
        "flags": [
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "This option determines the names of the output files. Each output file is named file‐ namestemyx.type where filenamestem is the value of the -outstem option, x and y are the horizontal and vertical locations, respectively, in the input image of the output image, zero being the leftmost and top, and type is .pbm, .pgm, .ppm, or .pam, depend‐ ing on the type of image."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "gives the width in pixels of the output images. The rightmost pieces are smaller than this if the input image is not a multiple of width pixels wide."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "gives the height in pixels of the output images. The bottom pieces are smaller than this if the input image is not a multiple of height pixels high."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Print information about the processing to Standard Error."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "pamcut",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pamcut/1/json"
            },
            {
                "name": "pnmcat",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pnmcat/1/json"
            },
            {
                "name": "pgmslice",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pgmslice/1/json"
            },
            {
                "name": "pnm",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/pnm/5/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-outstem=",
                        "lines": 7
                    },
                    {
                        "name": "-width=",
                        "lines": 4
                    },
                    {
                        "name": "-height=",
                        "lines": 4
                    },
                    {
                        "name": "-verbose",
                        "lines": 3
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}