summaryrefslogtreecommitdiffstats
path: root/upstream/fedora-40/man1/pnminvert.1
blob: 21392241ed44c8053a4a9d2abfbdaf854a70555c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
\
.\" This man page was generated by the Netpbm tool 'makeman' from HTML source.
.\" Do not hand-hack it!  If you have bug fixes or improvements, please find
.\" the corresponding HTML page on the Netpbm website, generate a patch
.\" against that, and send it to the Netpbm maintainer.
.TH "Pnminvert User Manual" 0 "08 August 1989" "netpbm documentation"

.SH NAME

pnminvert - invert a PNM image

.UN synopsis
.SH SYNOPSIS

\fBpnminvert\fP

[\fIpnmfile\fP]

.UN description
.SH DESCRIPTION
.PP
This program is part of
.BR "Netpbm" (1)\c
\&.
.PP
\fBpnminvert\fP reads a PNM image as input, inverts it black for
white, and produces a PNM image as output.
.PP
If the image is grayscale, \fBpnminvert\fP replaces a pixel with
one of complementary brightness, i.e. if the original pixel has gamma-adjusted
gray value G, the output pixel has gray value maxval - G.
.PP
If the image is color, \fBpnminvert\fP inverts each individual RGB
component the same as for a grayscale image.

.UN options
.SH OPTIONS
.PP
There are no command line options defined specifically
for \fBpnminvert\fP, but it recognizes the options common to all
programs based on libnetpbm (See 
.UR index.html#commonoptions
 Common Options
.UE
\&.)

.UN seealso
.SH SEE ALSO
.BR "pnm" (1)\c
\&

.UN author
.SH AUTHOR

Copyright (C) 1989 by Jef Poskanzer.
.SH DOCUMENT SOURCE
This manual page was generated by the Netpbm tool 'makeman' from HTML
source.  The master documentation is at
.IP
.B http://netpbm.sourceforge.net/doc/pnminvert.html
.PP