1Pnminvert User Manual(0) Pnminvert User Manual(0)
2
3
4
6 pnminvert - invert a PNM image
7
8
10 pnminvert
11
12 [pnmfile]
13
14
16 This program is part of Netpbm(1).
17
18 pnminvert reads a PNM image as input, inverts it black for white, and
19 produces a PNM image as output.
20
21 If the image is grayscale, pnminvert replaces a pixel with one of com‐
22 plementary brightness, i.e. if the original pixel has gamma-adjusted
23 gray value G, the output pixel has gray value maxval - G.
24
25 If the image is color, pnminvert inverts each individual RGB component
26 the same as for a grayscale image.
27
28
30 There are no command line options defined specifically for pnminvert,
31 but it recognizes the options common to all programs based on libnetpbm
32 (See
33 Common Options ⟨index.html#commonoptions⟩ .)
34
35
37 pnm(1)
38
39
41 Copyright (C) 1989 by Jef Poskanzer.
42
44 This manual page was generated by the Netpbm tool 'makeman' from HTML
45 source. The master documentation is at
46
47 http://netpbm.sourceforge.net/doc/pnminvert.html
48
49netpbm documentation 08 August 1989 Pnminvert User Manual(0)