Penguin
Annotated edit history of pnmarith(1) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 pnmarith
2 !!!pnmarith
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 SEE ALSO
7 AUTHOR
8 ----
9 !!NAME
10
11
12 pnmarith - perform arithmetic on two portable anymaps
13 !!SYNOPSIS
14
15
16 __pnmarith
17 -add__|__-subtract__|__-multiply__|__-difference__|__-minimum__|__-maximum.__
18 ''pnmfile1 pnmfile2''
19 !!DESCRIPTION
20
21
22 Reads two portable anymaps as input. Performs the specified
23 arithmetic operation, and produces a portable anymap as
24 output. The two input anymaps must be the same width and
25 height.
26
27
28 The arithmetic is performed between corresponding pixels in
29 the two anymaps, as if maxval was 1.0, black was 0.0, and a
30 linear scale in between. Results that fall outside of [[0..1)
31 are truncated.
32
33
34 The operator ''-difference'' calculates the absolute
35 value of ''pnmarith -subtract pnmfile1 pnmfile2,'' i.e.
36 no truncation is done.
37
38
39 All flags can be abbreviated to their shortest unique
40 prefix.
41 !!SEE ALSO
42
43
44 pbmmask(1), pnmpaste(1), pnminvert(1), pnm(5)
45 !!AUTHOR
46
47
48 Copyright (C) 1989, 1991 by Jef Poskanzer. Lightly modified
49 by Marcel Wijkstra
50 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.