Linux Commands Examples

A great documentation place for Linux commands


change an images Saturation and Value from an HSV map

see also : pgmnorm


ppmbrighten [-n] [-s <+- saturation>] [-v <+- value>] <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. Converts the image from RGB space to HSV space and changes the Value by <+- value> as a percentage. Likewise with the Saturation. Doubling the Value would involve

ppmbrighten -v 100

to add 100 percent to the Value.

The ’n’ option normalizes the Value to exist between 0 and 1 (normalized).


This program does not change the number of colors.

see also

pgmnorm , ppm


Copyright (C) 1990 by Brian Moffet Copyright (C) 1989 by Jef Poskanzer.

Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. This software is provided "as is" without express or implied warranty.

How can this site be more helpful to YOU ?

give  feedback