man > ppmdim(1)

TLDR: ppmdim (tldr-pages)

Dim a PPM image.

  • Dim the specified PPM image by dimfactor
    ppmdim {{0.6}} {{path/to/input.ppm}} > {{path/to/output.ppm}}
Ppmdim User Manual(1)                  General Commands Manual                 Ppmdim User Manual(1)

NAME
       ppmdim - dim a PPM image


SYNOPSIS
       ppmdim dimfactor [ppmfile]


DESCRIPTION
       This program is part of Netpbm(1).

       This  program  is  largely  obsoleted by the more general pamfunc(1) (use the -multiplier op‐
       tion).  ppmdim remains for backward compatibility and also because its use of integer  arith‐
       metic may make it faster.

       ppmdim reads a PPM image input and diminishes its brightness by the specified dimfactor.  The
       dimfactor  may be in the range from 0.0 (total blackness, deep night, nada, null, nothing) to
       1.0 (original picture's brightness).


OPTIONS
       There are no command line options defined specifically for ppmdim, but it recognizes the  op‐
       tions common to all programs based on libnetpbm (See ]8;;index.html#commonoptions\ Common Options]8;;\ .)


SEE ALSO
       ppm(1), pamfunc(1),


AUTHOR
       Copyright (C) 1993 by Frank Neumann

DOCUMENT SOURCE
       This  manual  page  was  generated by the Netpbm tool 'makeman' from HTML source.  The master
       documentation is at

              http://netpbm.sourceforge.net/doc/ppmdim.html

netpbm documentation                          June 2002                        Ppmdim User Manual(1)

Generated by phpman v4.9.26-5-g7740029 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-10 12:15 @216.73.216.11
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!