Your company here — click to reach over 10,000 unique daily visitors

ppmdim - Man Page

dim a PPM image

Examples (TL;DR)


ppmdim dimfactor [ppmfile]


This program is part of Netpbm(1).

This program is largely obsoleted by the more general pamfunc(1) (use the -multiplier option).  ppmdim remains for backward compatibility and also because its use of integer arithmetic 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).


There are no command line options defined specifically for ppmdim, but it recognizes the options common to all programs based on libnetpbm (See Common Options .)

See Also

ppm(1), pamfunc(1),


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


Referenced By

pamarith(1), pambrighten(1), pamfunc(1), pnmnorm(1), ppmntsc(1), ppmshift(1), ppmtv(1).

June 2002 netpbm documentation