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
<a href="image.jpg" class="highslide" onclick="return hs.expand(this)">image.jpg</a> +sub 30% cut 0,255
• Example #2
<a href="image.jpg" class="highslide" onclick="return hs.expand(this)">image.jpg</a> +mirror x sub[-1] [0]
• Example #3
<a href="image.jpg" class="highslide" onclick="return hs.expand(this)">image.jpg</a> sub 'i(w/2+0.9*(x-w/2),y)'

• Example #4
<a href="image.jpg" class="highslide" onclick="return hs.expand(this)">image.jpg</a> +mirror x sub
