1Ppmflash User Manual(0)                                Ppmflash User Manual(0)
2
3
4

NAME

6       ppmflash - brighten a picture to approach white
7
8

SYNOPSIS

10       ppmflash flashfactor [ppmfile]
11
12

DESCRIPTION

14       This program is part of Netpbm(1).
15
16       ppmflash  reads  a  PPM  image  as input.  It changes the color of each
17       pixel to bring it a specified amount closer to white.  It  generates  a
18       PPM image of the result.
19
20       flashfactor  is  a  real  number  between 0 and 1, inclusive.  ppmflash
21       increases the intensity of each RGB component by the fraction flashfac‐
22       tor of the difference between the current value and full intensity.  So
23       if a pixel contains 60% full red, 10% full green, and no blue  and  you
24       specify  0.5  (half), ppmflash increases the red to 80% (because it was
25       40% from full intensity, so it adds half of 40% to the  original  60%),
26       the green to 55%, and the blue to 50%.
27
28       If  flashfactor  is  zero,  the  output  is identical to the input.  If
29       flashfactor is one, the output is all white.
30
31       pambrighten does a more normal kind of  brightening.   pamfunc  does  a
32       very  simple  brightening.   Both  pambrighten  and  pamfunc can reduce
33       brightness as well.
34
35       pnmgamma is another way people do  a  similar  brightening,  though  it
36       isn't really intended for that.
37
38

SEE ALSO

40       pambrighten(1) pamfunc(1), pnmgamma(1), ppm(1),
41
42

AUTHOR

44       Copyright (C) 1993 by Frank Neumann
45

DOCUMENT SOURCE

47       This  manual  page was generated by the Netpbm tool 'makeman' from HTML
48       source.  The master documentation is at
49
50              http://netpbm.sourceforge.net/doc/ppmflash.html
51
52netpbm documentation            26 January 2003        Ppmflash User Manual(0)
Impressum