1. Computing & Technology
Linux / Unix Command: ppmbrighten
Command Library

NAME

ppmbrighten - change an images Saturation and Value from an HSV map  

SYNOPSIS

ppmbrighten [-n] [-s <+- saturation>] [-v <+- value>] <ppmfile>  

DESCRIPTION

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).  

SEE ALSO

pgmnorm(1), ppm(5)  

Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

Discuss in my forum

©2012 About.com. All rights reserved.

A part of The New York Times Company.