| Table of Contents ▸ List of Commands ▸ Mathematical Operators ▸ mod | ◀ minabs | mmul ▶ |
mod | Built-in command |
Arguments:
- value[%] or
- [image] or
- 'formula' or
- (no arg)
Description:
Compute the modulo of selected images with specified value, image or mathematical expression, or compute the pointwise sequential modulo 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> +mirror x n. 1,255 round. mod
• Example #2
<a href="image.jpg" class="highslide" onclick="return hs.expand(this)">image.jpg</a> mod 'R=((x/w-0.5)^2+(y/h-0.5)^2)^0.5;255*R'


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