Debian Codegraph @

upstream/debian-unstable/man1/pnminvert.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 "Pnminvert User Manual" 1 "08 August 1989" "netpbm documentation"
7
8 .SH NAME
9
10 pnminvert - invert a PNM image
11
12 .UN synopsis
13 .SH SYNOPSIS
14
15 \fBpnminvert\fP
16
17 [\fIpnmfile\fP]
18
19 .UN description
20 .SH DESCRIPTION
21 .PP
22 This program is part of
23 .BR "Netpbm" (1)\c
24 \&.
25 .PP
26 \fBpnminvert\fP reads a PNM image as input, inverts it black for
27 white, and produces a PNM image as output.
28 .PP
29 If the image is grayscale, \fBpnminvert\fP replaces a pixel with
30 one of complementary brightness, i.e. if the original pixel has gamma-adjusted
31 gray value G, the output pixel has gray value maxval - G.
32 .PP
33 If the image is color, \fBpnminvert\fP inverts each individual RGB
34 component the same as for a grayscale image.
35
36 .UN options
37 .SH OPTIONS
38 .PP
39 There are no command line options defined specifically
40 for \fBpnminvert\fP, but it recognizes the options common to all
41 programs based on libnetpbm (See
42 .UR index.html#commonoptions
43 Common Options
44 .UE
45 \&.)
46
47 .UN seealso
48 .SH SEE ALSO
49 .BR "pnm" (1)\c
50 \&
51
52 .UN author
53 .SH AUTHOR
54
55 Copyright (C) 1989 by Jef Poskanzer.
56 .SH DOCUMENT SOURCE
57 This manual page was generated by the Netpbm tool 'makeman' from HTML
58 source. The master documentation is at
59 .IP
60 .B http://netpbm.sourceforge.net/doc/pnminvert.html
61 .PP