{
    "content": [
        {
            "type": "text",
            "text": "# pbmtomacp (man)\n\n## NAME\n\npbmtomacp - convert a portable bitmap into a MacPaint file\n\n## SYNOPSIS\n\npbmtomacp [-l left] [-r right] [-b bottom] [-t top] [pbmfile]\n\n## DESCRIPTION\n\nReads  a  portable  bitmap  as  input.  If no input-file is given, standard input is assumed.\nProduces a MacPaint file as output.\n\n## TLDR\n\n> Convert a PBM image to a MacPaint file.\n\n- Convert a PBM image to a MACP file:\n  `pbmtomacp {{path/to/image.pbm}} > {{path/to/output.macp}}`\n- Do not compress the output file:\n  `pbmtomacp {{-n|-norle}} {{path/to/image.pbm}} > {{path/to/output.macp}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS**\n- **BUGS**\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "pbmtomacp",
        "section": "",
        "mode": "man",
        "summary": "pbmtomacp - convert a portable bitmap into a MacPaint file",
        "synopsis": "pbmtomacp [-l left] [-r right] [-b bottom] [-t top] [pbmfile]",
        "tldr_summary": "Convert a PBM image to a MacPaint file.",
        "tldr_examples": [
            {
                "description": "Convert a PBM image to a MACP file",
                "command": "pbmtomacp {{path/to/image.pbm}} > {{path/to/output.macp}}"
            },
            {
                "description": "Do not compress the output file",
                "command": "pbmtomacp {{-n|-norle}} {{path/to/image.pbm}} > {{path/to/output.macp}}"
            }
        ],
        "tldr_source": "official",
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "ppmtopict",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/ppmtopict/1/json"
            },
            {
                "name": "macptopbm",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/macptopbm/1/json"
            },
            {
                "name": "pbm",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/pbm/5/json"
            },
            {
                "name": "mcvert",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/mcvert/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "pbmtomacp - convert a portable bitmap into a MacPaint file\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "pbmtomacp [-l left] [-r right] [-b bottom] [-t top] [pbmfile]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Reads  a  portable  bitmap  as  input.  If no input-file is given, standard input is assumed.\nProduces a MacPaint file as output.\n\nThe generated file is only the data fork of a picture.  You  will  need  a  program  such  as\nmcvert  to  generate  a Macbinary or a BinHex file that contains the necessary information to\nidentify the file as a PNTG file to MacOS.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "Left, right, bottom & top let you define a square into the pbm file, that must be  converted.\nDefault  is  the whole file.  If the file is too large for a MacPaint-file, the bitmap is cut\nto fit from ( left, top ).\n",
                "subsections": []
            },
            "BUGS": {
                "content": "The source code contains comments in a language other than English.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "ppmtopict(1), macptopbm(1), pbm(5), mcvert(1)\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Copyright (C) 1988 by Douwe van der Schaaf (...!mcvax!uvapsy!vdschaaf).\n\n\n\n31 August 1988                               pbmtomacp(1)",
                "subsections": []
            }
        }
    }
}