{
    "content": [
        {
            "type": "text",
            "text": "# asciitopgm(1) (man)\n\n**Summary:** asciitopgm - convert ASCII graphics into a portable graymap\n\n**Synopsis:** asciitopgm [-d divisor] height width [asciifile]\n\n## See Also\n\n- pbmtoascii(1)\n- pgm(5)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (16 lines)\n- **BUGS** (3 lines)\n- **SEE ALSO** (2 lines)\n- **AUTHOR** (5 lines)\n\n## Full Content\n\n### NAME\n\nasciitopgm - convert ASCII graphics into a portable graymap\n\n### SYNOPSIS\n\nasciitopgm [-d divisor] height width [asciifile]\n\n### DESCRIPTION\n\nReads  ASCII  data  as input.  Produces a portable graymap with pixel values which are an ap‐\nproximation of the \"brightness\" of the ASCII characters,  assuming  black-on-white  printing.\nIn other words, a capital M is very dark, a period is ver light, and a space is white.  Input\nlines which are fewer than width characters are automatically padded with spaces.\n\nThe divisor argument is a floating-point number by which the output pixels are  divided;  the\ndefault value is 1.0.  This can be used to adjust the brightness of the graymap: for example,\nif the image is too dim, reduce the divisor.\n\nIn keeping with (I believe) Fortran line-printer conventions, input lines beginning with a  +\n(plus)  character  are  assumed to \"overstrike\" the previous line, allowing a larger range of\ngray values.\n\nThis tool contradicts the message in the pbmtoascii manual: \"Note that there is no asciitopbm\ntool - this transformation is one-way.\"\n\n### BUGS\n\nThe  table  of  ASCII-to-grey values is subject to interpretation, and, of course, depends on\nthe typeface intended for the input.\n\n### SEE ALSO\n\npbmtoascii(1), pgm(5)\n\n### AUTHOR\n\nWilson H. Bent. Jr. (whb@usc.edu)\n\n\n\n26 December 1994                             asciitopgm(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "asciitopgm",
        "section": "1",
        "mode": "man",
        "summary": "asciitopgm - convert ASCII graphics into a portable graymap",
        "synopsis": "asciitopgm [-d divisor] height width [asciifile]",
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "pbmtoascii",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pbmtoascii/1/json"
            },
            {
                "name": "pgm",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/pgm/5/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 16,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}