{
    "mode": "man",
    "parameter": "mdatopbm",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/mdatopbm/1/json",
    "generated": "2026-06-12T19:59:00Z",
    "synopsis": "mdatopbm [-a][-d][-i][--] [ mdafile ]",
    "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": []
        }
    },
    "summary": "mdatopbm - convert a Microdesign .mda or .mdp file into a portable bitmap",
    "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"
        }
    ],
    "tldr": {
        "source": "official",
        "description": "Convert a Microdesign MDA file to a PBM image.",
        "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}}"
            }
        ]
    }
}