pnmarith man page on BSDOS

Man page or keyword search:  
man Server   6284 pages
apropos Keyword Search (all sections)
Output format
BSDOS logo
[printable version]



pnmarith(1)					   pnmarith(1)

NAME
       pnmarith - perform arithmetic on two portable anymaps

SYNOPSIS
       pnmarith -add|-subtract|-multiply|-difference	pnmfile1
       pnmfile2

DESCRIPTION
       Reads two portable anymaps as input.  Performs the  speci-
       fied  arithmetic operation, and produces a portable anymap
       as output.  The two input anymaps must be the  same  width
       and height.

       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 pnmfile2, i.e. no truncation
       is done.

       All flags can be abbreviated to their shortest unique pre-
       fix.

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

AUTHOR
       Copyright  (C) 1989, 1991 by Jef Poskanzer.  Lightly modi-
       fied by Marcel Wijkstra <wijkstra@fwi.uva.nl>

			  26 August 1993			1

[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server BSDOS

List of man pages available for BSDOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net