Files
tldr/pages.zh/common/pamarith.md

403 B

pamarith

在两个 Netpbm 图像上应用二元函数。 另请参见:pamfunc。 更多信息:https://netpbm.sourceforge.net/doc/pamarith.html

  • 在两个指定的图像(必须大小相同)上逐像素应用指定的二元函数:

pamarith -{{add|subtract|multiply|divide|difference|minimum|maximum|...}} {{path/to/image1.pam|pbm|pgm|ppm}} {{path/to/image2.pam|pbm|pgm|ppm}}