{
    "content": [
        {
            "type": "text",
            "text": "# bmptoppm(1) (man)\n\n**Summary:** bmptopnm - convert a BMP file into a portable anymap\n\n**Synopsis:** bmptopnm [bmpfile]\n\n## See Also\n\n- ppmtobmp(1)\n- ppmtowinicon(1)\n- ppm(5)\n\n## Section Outline\n\n- **NAME** (3 lines)\n- **SYNOPSIS** (3 lines)\n- **DESCRIPTION** (13 lines)\n- **SEE ALSO** (3 lines)\n- **AUTHOR** (5 lines)\n\n## Full Content\n\n### NAME\n\nbmptopnm - convert a BMP file into a portable anymap\n\n### SYNOPSIS\n\nbmptopnm [bmpfile]\n\n### DESCRIPTION\n\nReads  a  Microsoft  Windows or OS/2 BMP file as input.  Produces a PBM, PGM, or PNM image as\noutput.  If the input is colormapped and contains only black and white, the  output  is  PBM.\nIf  the input is colormapped and contains only black white and gray, the output is PGM.  Oth‐\nerwise, the output is PPM.\n\nThis program cannot convert BMP files with compressed (run length encoded)  image  data.   It\nrecognizes the compression and issues an error message.\n\nThis program cannot convert BMP files with 16 bits per pixel (only because the author did not\nhave a complete specification for them).  It recognizes the format and issues an  error  mes‐\nsage.\n\n### SEE ALSO\n\nppmtobmp(1), ppmtowinicon(1), ppm(5)\n\n### AUTHOR\n\nCopyright (C) 1992 by David W. Sanderson.\n\n\n\n17 February 2002                               bmptopnm(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "bmptoppm",
        "section": "1",
        "mode": "man",
        "summary": "bmptopnm - convert a BMP file into a portable anymap",
        "synopsis": "bmptopnm [bmpfile]",
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "ppmtobmp",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/ppmtobmp/1/json"
            },
            {
                "name": "ppmtowinicon",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/ppmtowinicon/1/json"
            },
            {
                "name": "ppm",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/ppm/5/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 13,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}