Linux Commands Examples

A great documentation place for Linux commands


dim a portable pixmap down to total blackness

see also : ppmflash - pnmgamma - ppmbrighten


ppmdim dimfactor [ppmfile]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !


Reads a portable pixmap as input. Diminishes its brightness by the specified dimfactor down to total blackness. The dimfactor may be in the range from 0.0 (total blackness, deep night, nada, null, nothing) to 1.0 (original picture’s brightness).

As pnmgamma does not do the brightness correction in the way I wanted it, this small program was written.

ppmdim is similar to ppmbrighten , but not exactly the same.

see also

ppm, ppmflash , pnmgamma , ppmbrighten


Copyright (C) 1993 by Frank Neumann

How can this site be more helpful to YOU ?

give  feedback