{
    "content": [
        {
            "type": "text",
            "text": "# pbmtomda (man)\n\n## NAME\n\npbmtomda - convert a portable bitmap to a Microdesign .mda\n\n## SYNOPSIS\n\npbmtomda [-d][-i][--] [ pbmfile ]\n\n## DESCRIPTION\n\nReads  a portable bitmap file as input.  Reads from stdin if input file is omitted.  Produces\na MicroDesign 2 area file (.MDA) as output.\n\n## TLDR\n\n> Convert a PBM image to a Microdesign MDA file.\n\n- Convert a PBM image to a MDA file:\n  `pbmtomda {{path/to/image.pbm}} > {{path/to/output.mda}}`\n- Invert the colors in the input image:\n  `pbmtomda -i {{path/to/image.pbm}} > {{path/to/output.mda}}`\n- Halve the input image's height:\n  `pbmtomda -d {{path/to/image.pbm}} > {{path/to/output.mda}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (2 subsections)\n- **BUGS**\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "pbmtomda",
        "section": "",
        "mode": "man",
        "summary": "pbmtomda - convert a portable bitmap to a Microdesign .mda",
        "synopsis": "pbmtomda [-d][-i][--] [ pbmfile ]",
        "tldr_summary": "Convert a PBM image to a Microdesign MDA file.",
        "tldr_examples": [
            {
                "description": "Convert a PBM image to a MDA file",
                "command": "pbmtomda {{path/to/image.pbm}} > {{path/to/output.mda}}"
            },
            {
                "description": "Invert the colors in the input image",
                "command": "pbmtomda -i {{path/to/image.pbm}} > {{path/to/output.mda}}"
            },
            {
                "description": "Halve the input image's height",
                "command": "pbmtomda -d {{path/to/image.pbm}} > {{path/to/output.mda}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "-d",
                "long": null,
                "arg": null,
                "description": "croDesign files."
            },
            {
                "flag": "-i",
                "long": null,
                "arg": null,
                "description": "-- End of options (use this if the filename starts with \"-\")"
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "mdatopbm",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/mdatopbm/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": 3,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-d",
                        "lines": 2,
                        "flag": "-d"
                    },
                    {
                        "name": "-i",
                        "lines": 2,
                        "flag": "-i"
                    }
                ]
            },
            {
                "name": "BUGS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "pbmtomda - convert a portable bitmap to a Microdesign .mda\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "pbmtomda [-d][-i][--] [ pbmfile ]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Reads  a portable bitmap file as input.  Reads from stdin if input file is omitted.  Produces\na MicroDesign 2 area file (.MDA) as output.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-d",
                        "content": "croDesign files.\n",
                        "flag": "-d"
                    },
                    {
                        "name": "-i",
                        "content": "--     End of options (use this if the filename starts with \"-\")\n",
                        "flag": "-i"
                    }
                ]
            },
            "BUGS": {
                "content": "There's  no way to produce files in MicroDesign 3 format. MD3 itself and mdatopbm(1) can read\nfiles in either format.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "mdatopbm(1), pbm(5)\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Copyright (C) 1999 John Elliott <jce@seasip.demon.co.uk>.\n\n\n\n\n3 June 1999                                 pbmtomda(1)",
                "subsections": []
            }
        }
    }
}