{
    "mode": "man",
    "parameter": "ppmpat",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/ppmpat/1/json",
    "generated": "2026-05-30T06:06:08Z",
    "synopsis": "ppmpat  -gingham2|-g2|-gingham3|  -g3|-madras|-tartan|  -poles|-squig|-camo|  -anticamo width\nheight",
    "sections": {
        "NAME": {
            "content": "ppmpat - make a pretty pixmap\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "ppmpat  -gingham2|-g2|-gingham3|  -g3|-madras|-tartan|  -poles|-squig|-camo|  -anticamo width\nheight\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Produces a portable pixmap of the specified width and height, with a pattern in it.\n\nThis program is mainly to demonstrate use of the ppmdraw  routines,  a  simple  but  powerful\ndrawing  library.   See  the  ppmdraw.h  include  file for more info on using these routines.\nStill, some of the patterns can be rather pretty.  If you have a color workstation, something\nlike ppmpat -squig 300 300 | ppmquant 128 should generate a nice background.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "The different flags specify various different pattern types:\n",
            "subsections": [
                {
                    "name": "-gingham2",
                    "content": "A gingham check pattern.  Can be tiled.\n"
                },
                {
                    "name": "-gingham3",
                    "content": "A slightly more complicated gingham.  Can be tiled.\n"
                },
                {
                    "name": "-madras",
                    "content": "A madras plaid.  Can be tiled.\n"
                },
                {
                    "name": "-tartan",
                    "content": "A tartan plaid.  Can be tiled.\n"
                },
                {
                    "name": "-poles",
                    "content": "mquant.\n"
                },
                {
                    "name": "-squig",
                    "content": ""
                },
                {
                    "name": "-camo",
                    "content": ""
                },
                {
                    "name": "-anticamo",
                    "content": "Anti-camouflage pattern - like -camo, but ultra-bright colors.  May  need  to  be  run\nthrough ppmquant.\n\nAll flags can be abbreviated to their shortest unique prefix.\n"
                }
            ]
        },
        "REFERENCES": {
            "content": "Some of the patterns are from \"Designer's Guide to Color 3\" by Jeanne Allen.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "pnmtile(1), ppmquant(1), ppm(5)\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Copyright (C) 1989 by Jef Poskanzer.\n\n\n\n04 September 1989                                ppmpat(1)",
            "subsections": []
        }
    },
    "summary": "ppmpat - make a pretty pixmap",
    "flags": [
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "A gingham check pattern. Can be tiled."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "A slightly more complicated gingham. Can be tiled."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "A madras plaid. Can be tiled."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "A tartan plaid. Can be tiled."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "mquant."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Anti-camouflage pattern - like -camo, but ultra-bright colors. May need to be run through ppmquant. All flags can be abbreviated to their shortest unique prefix."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "pnmtile",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pnmtile/1/json"
        },
        {
            "name": "ppmquant",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ppmquant/1/json"
        },
        {
            "name": "ppm",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/ppm/5/json"
        }
    ]
}