{
    "content": [
        {
            "type": "text",
            "text": "# ppmquantall(1) (man)\n\n**Summary:** ppmquantall - run ppmquant on a bunch of files all at once, so they share a common colormap\n\n**Synopsis:** ppmquantall [-ext extension] ncolors ppmfile ...\n\n## See Also\n\n- ppmquant(1)\n- ppm(5)\n\n## Section Outline\n\n- **NAME** (3 lines)\n- **SYNOPSIS** (3 lines)\n- **DESCRIPTION** (18 lines)\n- **SEE ALSO** (3 lines)\n- **AUTHOR** (5 lines)\n\n## Full Content\n\n### NAME\n\nppmquantall - run ppmquant on a bunch of files all at once, so they share a common colormap\n\n### SYNOPSIS\n\nppmquantall [-ext extension] ncolors ppmfile ...\n\n### DESCRIPTION\n\nTakes  a  bunch of portable pixmap as input.  Chooses ncolors colors to best represent all of\nthe images, maps the existing colors to the new ones, and overwrites the input files with the\nnew quantized versions.\n\nIf  you  don't want to overwrite your input files, use the -ext option.  The output files are\nthen named the same as the input files, plus a period and the extension text you specify.\n\nVerbose explanation: Let's say you've got a dozen pixmaps that you want  to  display  on  the\nscreen  all  at  the  same  time.  Your screen can only display 256 different colors, but the\npixmaps have a total of a thousand or so different colors.  For a  single  pixmap  you  solve\nthis  problem with ppmquant; this script solves it for multiple pixmaps.  All it does is con‐\ncatenate them together into one big pixmap, run ppmquant on that, and then split it  up  into\nlittle pixmaps again.\n\n(Note  that  another  way to solve this problem is to pre-select a set of colors and then use\nppmquant's -map option to separately quantize each pixmap to that set.)\n\n### SEE ALSO\n\nppmquant(1), ppm(5)\n\n### AUTHOR\n\nCopyright (C) 1991 by Jef Poskanzer.\n\n\n\n27 July 1990                              ppmquantall(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "ppmquantall",
        "section": "1",
        "mode": "man",
        "summary": "ppmquantall - run ppmquant on a bunch of files all at once, so they share a common colormap",
        "synopsis": "ppmquantall [-ext extension] ncolors ppmfile ...",
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "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"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 18,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}