{
    "content": [
        {
            "type": "text",
            "text": "# anytopnm (info)\n\n## NAME\n\nanytopnm - attempt to convert an unknown type of image file to a porta- ble anymap\n\n## SYNOPSIS\n\nanytopnm [file]\n\n## DESCRIPTION\n\nanytopnm converts the input image, which may be in  any  of  dozens  of\ngraphics  formats, to PBM, PGM, or PPM format, depending on that nature\nof the input image, and outputs it to Standard Output.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "anytopnm",
        "section": "",
        "mode": "info",
        "summary": "anytopnm - attempt to convert an unknown type of image file to a porta- ble anymap",
        "synopsis": "anytopnm [file]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "pnmfile",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pnmfile/1/json"
            },
            {
                "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"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 22,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "anytopnm - attempt to convert an unknown type of image file to a porta-\nble anymap\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "anytopnm [file]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "anytopnm converts the input image, which may be in  any  of  dozens  of\ngraphics  formats, to PBM, PGM, or PPM format, depending on that nature\nof the input image, and outputs it to Standard Output.\n\nTo determine the format of the input, anytopnm uses  the  file  program\n(possibly  assisted  by  the  magic numbers file fragment included with\nNetpbm).  If that fails (very few image formats  have  magic  numbers),\nanytopnm  looks  at  the  filename  extension.  If that fails, anytopnm\npunts.\n\nThe type of the output file depends on the input image.\n\nIf file indicates that the input file is compressed  (either  via  Unix\ncompress, gzip, or bzip compression), anytopnm uncompresses it and pro-\nceeds as above with the uncompressed result.\n\nIf file indicates that the input file is encoded by uuencode  or  btoa,\nanytopnm decodes it and proceeds as above with the decoded result.\n\nIf  file  is - or not given, anytopnm takes its input from Standard In-\nput.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "pnmfile(1), pnm(5), file(1)\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Copyright (C) 1991 by Jef Poskanzer.\n\n11 July 2000                      anytopnm(1)",
                "subsections": []
            }
        }
    }
}