Debian Codegraph @

upstream/debian-unstable/man1/ppmflash.1

raw
1 \
2 .\" This man page was generated by the Netpbm tool 'makeman' from HTML source.
3 .\" Do not hand-hack it! If you have bug fixes or improvements, please find
4 .\" the corresponding HTML page on the Netpbm website, generate a patch
5 .\" against that, and send it to the Netpbm maintainer.
6 .TH "Ppmflash User Manual" 1 "26 January 2003" "netpbm documentation"
7
8 .SH NAME
9 ppmflash - brighten a picture to approach white
10
11 .UN synopsis
12 .SH SYNOPSIS
13
14 ppmflash
15 \fIflashfactor\fP
16 [\fIppmfile\fP]
17
18 .UN description
19 .SH DESCRIPTION
20 .PP
21 This program is part of
22 .BR "Netpbm" (1)\c
23 \&.
24 .PP
25 \fBppmflash\fP reads a PPM image as input. It changes the color of
26 each pixel to bring it a specified amount closer to white. It
27 generates a PPM image of the result.
28 .PP
29 \fIflashfactor\fP is a real number between 0 and 1, inclusive.
30 \fBppmflash\fP increases the intensity of each RGB component by the
31 fraction \fIflashfactor\fP of the difference between the current
32 value and full intensity. So if a pixel contains 60% full red, 10%
33 full green, and no blue and you specify 0.5 (half), \fBppmflash\fP
34 increases the red to 80% (because it was 40% from full intensity, so
35 it adds half of 40% to the original 60%), the green to 55%, and the
36 blue to 50%.
37 .PP
38 If \fIflashfactor\fP is zero, the output is identical to the input.
39 If \fIflashfactor\fP is one, the output is all white.
40 .PP
41 \fBpambrighten\fP does a more normal kind of brightening.
42 \fBpamfunc\fP does a very simple brightening. Both
43 \fBpambrighten\fP and \fBpamfunc\fP can reduce brightness as well.
44 .PP
45 \fBpnmgamma\fP is another way people do a similar brightening, though
46 it isn't really intended for that.
47
48 .UN options
49 .SH OPTIONS
50 .PP
51 There are no command line options defined specifically
52 for \fBppmflash\fP, but it recognizes the options common to all
53 programs based on libnetpbm (See
54 .UR index.html#commonoptions
55 Common Options
56 .UE
57 \&.)
58
59 .UN seealso
60 .SH SEE ALSO
61 .BR "pambrighten" (1)\c
62 \&
63 .BR "pamfunc" (1)\c
64 \&,
65 .BR "pnmgamma" (1)\c
66 \&,
67 .BR "ppm" (1)\c
68 \&,
69
70 .UN author
71 .SH AUTHOR
72
73 Copyright (C) 1993 by Frank Neumann
74 .SH DOCUMENT SOURCE
75 This manual page was generated by the Netpbm tool 'makeman' from HTML
76 source. The master documentation is at
77 .IP
78 .B http://netpbm.sourceforge.net/doc/ppmflash.html
79 .PP