{
    "mode": "man",
    "parameter": "pnmsplit",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/pnmsplit/1/json",
    "generated": "2026-06-15T13:12:38Z",
    "synopsis": "pnmsplit [pnmfile[ outputfilepattern]]",
    "sections": {
        "NAME": {
            "content": "pnmsplit - split a multi-image portable anymap into multiple single-image files\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "pnmsplit [pnmfile[ outputfilepattern]]\n\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Reads  a  Netpbm  file as input.  Copies each image in the input into a separate file, in the\nsame format.\n\npnmfile is the file specification of the input file, or - to indicate  Standard  Input.   The\ndefault is Standard Input.\n\noutputfilepattern  tells how to name the output files.  It is the file specification of the\noutput file, except that the first occurence of \"%d\" in it is replaced by the image  sequence\nnumber  in  unpadded  ASCII decimal, with the sequence starting at 0.  If there is no \"%d\" in\nthe pattern, pnmsplit fails.\n\nThe default output file pattern is \"image%d\".\n\nNote that to do the reverse operation (combining  multiple  single-image  PNM  files  into  a\nmulti-image one), there is no special Netpbm program.  Just use cat.\n\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "pnm(5), cat(1)\n\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Written by Bryan Henderson\n\n\n\n19 June 2000                                 pnmsplit(1)",
            "subsections": []
        }
    },
    "summary": "pnmsplit - split a multi-image portable anymap into multiple single-image files",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "pnm",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/pnm/5/json"
        },
        {
            "name": "cat",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/cat/1/json"
        }
    ],
    "tldr": {
        "source": "official",
        "description": "This command has been superseded by `pamsplit`.",
        "examples": [
            {
                "description": "View documentation for the current command",
                "command": "tldr pamsplit"
            }
        ]
    }
}