{
    "mode": "man",
    "parameter": "ppmdim",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/man/ppmdim/json",
    "generated": "2026-10-04T19:15:29Z",
    "synopsis": "ppmdim dimfactor [ppmfile]",
    "sections": {
        "NAME": {
            "content": "ppmdim - dim a PPM image\n\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "ppmdim dimfactor [ppmfile]\n\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This program is part of Netpbm(1).\n\nThis  program  is  largely  obsoleted by the more general pamfunc(1) (use the -multiplier op‐\ntion).  ppmdim remains for backward compatibility and also because its use of integer  arith‐\nmetic may make it faster.\n\nppmdim reads a PPM image input and diminishes its brightness by the specified dimfactor.  The\ndimfactor  may be in the range from 0.0 (total blackness, deep night, nada, null, nothing) to\n1.0 (original picture's brightness).\n\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "There are no command line options defined specifically for ppmdim, but it recognizes the  op‐\ntions common to all programs based on libnetpbm (See  Common Options .)\n\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "ppm(1), pamfunc(1),\n\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Copyright (C) 1993 by Frank Neumann\n",
            "subsections": []
        },
        "DOCUMENT SOURCE": {
            "content": "This  manual  page  was  generated by the Netpbm tool 'makeman' from HTML source.  The master\ndocumentation is at\n\nhttp://netpbm.sourceforge.net/doc/ppmdim.html\n\nnetpbm documentation                          June 2002                        Ppmdim User Manual(1)",
            "subsections": []
        }
    },
    "summary": "ppmdim - dim a PPM image",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "ppm",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ppm/1/json"
        },
        {
            "name": "pamfunc",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pamfunc/1/json"
        }
    ],
    "tldr": {
        "source": "official",
        "description": "Dim a PPM image.",
        "examples": [
            {
                "description": "Dim the specified PPM image by dimfactor",
                "command": "ppmdim {{0.6}} {{path/to/input.ppm}} > {{path/to/output.ppm}}"
            }
        ]
    }
}