| Table of Contents ▸ List of Commands ▸ Values Manipulation ▸ rand | ◀ quantize_area | rand_sum ▶ |
rand | Built-in command |
Arguments:
- { value0[%] | [image0] },_{ value1[%] | [image1] },_[pdf],_precision or
- [image]
Description:
Fill selected images with random values in the specified range.If no [pdf] (probability density function) is specified, random values follow a uniform distribution.
Argument precision tells about the number of distinct values that can be generated when a [pdf] is specified.
Examples of use:
• Example #1
400,400,1,3 rand -10,10 +blur 10 sign[-1]
• Example #2
(8,2,1) 50,50 rand[-1] 0,255,[-2]
• Example #3
256 gaussian[-1] 30 line[-1] 47%,0,53%,0,1,0 500,500 rand[-1] 0,255,[-2] +histogram[-1] 256 display_graph[0,2] 640,480,3,0


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





