pnminvert(1)

pnminvert1

Invert a pnm image

Usage

pnminvert

[pnmfile]

Overview

This program is part of Netpbm(1) .

pnminvert reads a PNM image as input, inverts it black for white, and produces a PNM image as output.

If the image is grayscale, pnminvert 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.

If the image is color, pnminvert inverts each individual RGB component the same as for a grayscale image.

Options

There are no command line options defined specifically for pnminvert, but it recognizes the options common to all programs based on libnetpbm (See
Common Options ⟨index.html#commonoptions⟩ .)

Document source

This manual page was generated by the Netpbm tool 'makeman' from HTML source. The master documentation is at

http://netpbm.sourceforge.net/doc/pnminvert.html

Releases

16 releases since Debian 2.0 (Hamm); the text changed 2 times.

  1. 2.0–11
  2. 12–13
  3. Arch

Author

Copyright (C) 1989 by Jef Poskanzer.

From netpbm 10.86.51-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.