| Table of Contents ▸ List of Commands ▸ Mathematical Operators ▸ div | ◀ deg2rad | eq ▶ |
div | Built-in command |
Arguments:
- value[%] or
- [image] or
- 'formula' or
- (no arg)
Description:
Divide selected images by specified value, image or mathematical expression, or compute the pointwise quotient 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> div '1+abs(cos(x/10)*sin(y/10))'
• Example #2
<a href="image.jpg" class="highslide" onclick="return hs.expand(this)">image.jpg</a> +norm add[-1] 1 +div


Home
Download
News
Mastodon
Bluesky
X
Summary - 17 Years
Summary - 16 Years
Summary - 15 Years
Summary - 13 Years
Summary - 11 Years
Summary - 10 Years
Resources
Technical Reference
Scripting Tutorial
Video Tutorials
Wiki Pages
Image Gallery
Color Presets
Using libgmic
G'MIC Online
Community
Discussion Forum (Pixls.us)
GimpChat
IRC
Report Issue

