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