# ppmdim - dim a PPM image - man - [phpMan]

> **TLDR:** Dim a PPM image.
>
- Dim the specified PPM image by dimfactor:
  `ppmdim {{0.6}} {{path/to/input.ppm}} > {{path/to/output.ppm}}`

*Source: tldr-pages*

---

_Ppmdim_ _User_ [_Manual_(1)](https://www.chedong.com/phpMan.php/man/Manual/1/markdown)                  General Commands Manual                 _Ppmdim_ _User_ [_Manual_(1)](https://www.chedong.com/phpMan.php/man/Manual/1/markdown)

## NAME
       ppmdim - dim a PPM image


## SYNOPSIS
       ppmdim _dimfactor_ [_ppmfile_]


## DESCRIPTION
       This program is part of [**Netpbm**(1)](https://www.chedong.com/phpMan.php/man/Netpbm/1/markdown).

       This  program  is  largely  obsoleted by the more general [**pamfunc**(1)](https://www.chedong.com/phpMan.php/man/pamfunc/1/markdown) (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 [ Common Options](index.html#commonoptions) .)


## SEE ALSO
       [**ppm**(1)](https://www.chedong.com/phpMan.php/man/ppm/1/markdown), [**pamfunc**(1)](https://www.chedong.com/phpMan.php/man/pamfunc/1/markdown),


## 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)](https://www.chedong.com/phpMan.php/man/Manual/1/markdown)
