Unix/Linux Go Back    

RedHat 9 (Linux i386) - man page for pnmarith (redhat section 1)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

pnmarith(1)									      pnmarith(1)

       pnmarith - perform arithmetic on two portable anymaps

       pnmarith -add|-subtract|-multiply|-difference|-minimum|-maximum.  pnmfile1 pnmfile2

       Reads  two  portable  anymaps  as input.  Performs the specified arithmetic operation, and
       produces a portable anymap as output.  The two input anymaps must be the  same  width  and

       The  arithmetic is performed between corresponding pixels in the two anymaps, as if maxval
       was 1.0, black was 0.0, and a linear scale in  between.	 Results  that	fall  outside  of
       [0..1) are truncated.

       The operator -difference calculates the absolute value of pnmarith -subtract pnmfile1 pnm-
       file2, i.e. no truncation is done.

       All flags can be abbreviated to their shortest unique prefix.

       pbmmask(1), pnmpaste(1), pnminvert(1), pnm(5)

       Copyright (C) 1989, 1991 by Jef Poskanzer.  Lightly modified  by  Marcel  Wijkstra  <wijk-

					  26 August 1993			      pnmarith(1)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 12:10 AM.