{
    "content": [
        {
            "type": "text",
            "text": "# ppmtopj (info)\n\n## NAME\n\nppmtopj - convert a portable pixmap to an HP PaintJet file\n\n## SYNOPSIS\n\nppmtopj  [-gamma  val] [-xpos val] [-ypos val] [-back dark|lite] [-rle]\n[-center]   [-render    none|snap|bw|dither|diffuse|monodither|monodif-\nfuse|clusterdither|monoclusterdither] [ppmfile]\n\n## DESCRIPTION\n\nReads a portable pixmap as input and converts it into a format suitable\nto be printed by an HP PaintJet printer.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS**\n- **REFERENCES**\n- **SEE ALSO**\n- **BUGS**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "ppmtopj",
        "section": "",
        "mode": "info",
        "summary": "ppmtopj - convert a portable pixmap to an HP PaintJet file",
        "synopsis": "ppmtopj  [-gamma  val] [-xpos val] [-ypos val] [-back dark|lite] [-rle]\n[-center]   [-render    none|snap|bw|dither|diffuse|monodither|monodif-\nfuse|clusterdither|monoclusterdither] [ppmfile]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "pnmdepth",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pnmdepth/1/json"
            },
            {
                "name": "ppmquant",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/ppmquant/1/json"
            },
            {
                "name": "ppmdither",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/ppmdither/1/json"
            },
            {
                "name": "ppm",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/ppm/5/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 14,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 17,
                "subsections": []
            },
            {
                "name": "REFERENCES",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "ppmtopj - convert a portable pixmap to an HP PaintJet file\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "ppmtopj  [-gamma  val] [-xpos val] [-ypos val] [-back dark|lite] [-rle]\n[-center]   [-render    none|snap|bw|dither|diffuse|monodither|monodif-\nfuse|clusterdither|monoclusterdither] [ppmfile]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Reads a portable pixmap as input and converts it into a format suitable\nto be printed by an HP PaintJet printer.\n\nFor best results, the input file should be in 8-color RGB form; i.e. it\nshould have only the 8 binary combinations of full-on and full-off pri-\nmaries.  You could get this by sending the input file through  ppmquant\n-map with a map file such as:\nP3\n8 1\n255\n0 0 0      255 0 0    0 255 0    0 0 255\n255 255 0  255 0 255  0 255 255  255 255 255\nOr else you could use use ppmdither -red 2 -green 2 -blue 2.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "-rle          Run  length encode the image.  (This can result in larger\nimages)\n\n-back         Enhance the foreground by indicating if the background is\nlight or dark compated to the foreground.\n\n-render alg   Use an internal rendering algorithm (default dither).\n\n-gamma int    Gamma  correct the image using the integet parameter as a\ngamma (default 0).\n\n-center       Center the image to an 8.5 by 11 page\n\n-xpos pos     Move by pos pixels in the x direction.\n\n-ypos pos     Move by pos pixels in the y direction.\n",
                "subsections": []
            },
            "REFERENCES": {
                "content": "HP PaintJet XL Color Graphics Printer User's Guide\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "pnmdepth(1), ppmquant(1), ppmdither(1), ppm(5)\n",
                "subsections": []
            },
            "BUGS": {
                "content": "Most of the options have not been tested because of the  price  of  the\npaper.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Copyright (C) 1991 by Christos Zoulas.\n\n13 July 1991                       ppmtopj(1)",
                "subsections": []
            }
        }
    }
}