{
    "content": [
        {
            "type": "text",
            "text": "# macptopbm(1) (man)\n\n**Summary:** macptopbm - convert a MacPaint file into a portable bitmap\n\n**Synopsis:** macptopbm [-extraskip N] [macpfile]\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| — | — | — | This flag is to get around a problem with some methods of transferring files from the Mac world to the Unix world. Most  |\n\n## See Also\n\n- picttoppm(1)\n- pbmtomacp(1)\n- pbm(5)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (2 lines)\n- **OPTIONS** (1 lines) — 1 subsections\n  - -extraskip (9 lines)\n- **SEE ALSO** (2 lines)\n- **AUTHOR** (6 lines)\n\n## Full Content\n\n### NAME\n\nmacptopbm - convert a MacPaint file into a portable bitmap\n\n### SYNOPSIS\n\nmacptopbm [-extraskip N] [macpfile]\n\n### DESCRIPTION\n\nReads a MacPaint file as input.  Produces a portable bitmap as output.\n\n### OPTIONS\n\n#### -extraskip\n\nThis  flag is to get around a problem with some methods of transferring files from the\nMac world to the Unix world.  Most of these methods leave the Mac files alone,  but  a\nfew  of them add the \"finderinfo\" data onto the front of the Unix file.  This means an\nextra 128 bytes to skip over when reading the file.  The symptom to watch for is  that\nthe  resulting  PBM  file  looks shifted to one side.  If you get this, try -extraskip\n128, and if that still doesn't look right try another value.\n\nAll flags can be abbreviated to their shortest unique prefix.\n\n### SEE ALSO\n\npicttoppm(1), pbmtomacp(1), pbm(5)\n\n### AUTHOR\n\nCopyright (C) 1988 by Jef Poskanzer.  The MacPaint-reading code  is  copyright  (c)  1987  by\nPatrick J. Naughton (naughton@wind.sun.com).\n\n\n\n29 March 1989                               macptopbm(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "macptopbm",
        "section": "1",
        "mode": "man",
        "summary": "macptopbm - convert a MacPaint file into a portable bitmap",
        "synopsis": "macptopbm [-extraskip N] [macpfile]",
        "flags": [
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "This flag is to get around a problem with some methods of transferring files from the Mac world to the Unix world. Most of these methods leave the Mac files alone, but a few of them add the \"finderinfo\" data onto the front of the Unix file. This means an extra 128 bytes to skip over when reading the file. The symptom to watch for is that the resulting PBM file looks shifted to one side. If you get this, try -extraskip 128, and if that still doesn't look right try another value. All flags can be abbreviated to their shortest unique prefix."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "picttoppm",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/picttoppm/1/json"
            },
            {
                "name": "pbmtomacp",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pbmtomacp/1/json"
            },
            {
                "name": "pbm",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/pbm/5/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-extraskip",
                        "lines": 9
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 6,
                "subsections": []
            }
        ]
    }
}