Table of Contents ▸ List of Commands ▸ Mathematical Operators ▸ sub | ◀ sqrt | tan ▶ |
sub | Built-in command |
Arguments:
- value[%] or
- [image] or
- 'formula' or
- (no arg)
Description:
Subtract specified value, image or mathematical expression to selected images, or compute the pointwise difference of selected images.(equivalent to shortcut command -).
Examples of use:
• Example #1
image.jpg +sub 30% cut 0,255
• Example #2
image.jpg +mirror x sub[-1] [0]
• Example #3
image.jpg sub 'i(w/2+0.9*(x-w/2),y)'

• Example #4
image.jpg +mirror x sub
