Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
pnmarith(1)
Edit
PageHistory
Diff
Info
LikePages
pnmarith !!!pnmarith NAME SYNOPSIS DESCRIPTION SEE ALSO AUTHOR ---- !!NAME pnmarith - perform arithmetic on two portable anymaps !!SYNOPSIS __pnmarith -add__|__-subtract__|__-multiply__|__-difference__|__-minimum__|__-maximum.__ ''pnmfile1 pnmfile2'' !!DESCRIPTION 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 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 prefix. !!SEE ALSO pbmmask(1), pnmpaste(1), pnminvert(1), pnm(5) !!AUTHOR Copyright (C) 1989, 1991 by Jef Poskanzer. Lightly modified by Marcel Wijkstra ----
6 pages link to
pnmarith(1)
:
pbmfilters(1)
pbmmask(1)
pgmramp(1)
pnm(5)
pnmpaste(1)
Man1p
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.