{
    "mode": "man",
    "parameter": "anytopnm",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/anytopnm/1/json",
    "generated": "2026-05-30T05:15:14Z",
    "synopsis": "anytopnm [file]",
    "sections": {
        "NAME": {
            "content": "anytopnm - attempt to convert an unknown type of image file to a portable anymap\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "anytopnm [file]\n\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "anytopnm converts the input image, which may be in any of dozens of graphics formats, to PBM,\nPGM, or PPM format, depending on that nature of the input image, and outputs it  to  Standard\nOutput.\n\nTo  determine  the  format of the input, anytopnm uses the file program (possibly assisted by\nthe magic numbers file fragment included with Netpbm).  If that fails (very few image formats\nhave  magic  numbers),  anytopnm  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 compress, gzip, or  bzip\ncompression), anytopnm uncompresses it and proceeds as above with the uncompressed result.\n\nIf file indicates that the input file is encoded by uuencode or btoa, anytopnm decodes it and\nproceeds as above with the decoded result.\n\nIf file is - or not given, anytopnm takes its input from Standard Input.\n\n\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "pnmfile(1), pnm(5), file(1)\n\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Copyright (C) 1991 by Jef Poskanzer.\n\n\n\n11 July 2000                                 anytopnm(1)",
            "subsections": []
        }
    },
    "summary": "anytopnm - attempt to convert an unknown type of image file to a portable anymap",
    "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"
        }
    ]
}