{
    "mode": "man",
    "parameter": "pnmfile",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/pnmfile/1/json",
    "generated": "2026-06-11T08:18:26Z",
    "synopsis": "pnmfile [-allimages] [pnmfile ...]",
    "sections": {
        "NAME": {
            "content": "pnmfile - describe a portable anymap\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "pnmfile [-allimages] [pnmfile ...]\n\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Reads  one  or  more Netpbm files as input.  Writes out short descriptions of the image type,\nsize, etc.  This is mostly for use in shell  scripts,  so  the  format  is  not  particularly\npretty.\n\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-allimages",
                    "content": "Describe  every image in each input file.  Without this option, pnmfile describes only\nthe first image in each input file.  Note that before July 2000, a file could not con‐\ntain more than one image and many programs ignore all but the first.\n\n"
                }
            ]
        },
        "SEE ALSO": {
            "content": "pnm(5), file(1)\n\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Copyright (C) 1991 by Jef Poskanzer.\n\n\n\n18 June 2000                                  pnmfile(1)",
            "subsections": []
        }
    },
    "summary": "pnmfile - describe a portable anymap",
    "flags": [
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Describe every image in each input file. Without this option, pnmfile describes only the first image in each input file. Note that before July 2000, a file could not con‐ tain more than one image and many programs ignore all but the first."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "pnm",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/pnm/5/json"
        },
        {
            "name": "file",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/file/1/json"
        }
    ],
    "tldr": {
        "source": "official",
        "description": "This command has been superseded by `pamfile`.",
        "examples": [
            {
                "description": "View documentation for the current command",
                "command": "tldr pamfile"
            }
        ]
    }
}