| Table of Contents ▸ List of Commands ▸ Reptorian's Commands ▸ rep_mode_blend | ◀ rep_mode | rep_val2order ▶ |
rep_mode_blend
Arguments:
- _tie_breaker={ 0=NaN | 1=Average }
Description:
Blend layers using the statistical mode of pixel colors._tie_breaker determines how to resolve pixels where two or more colors
share the highest frequency (i.e. there is no single mode).
0 = output NaN for tied pixels
1 = output the average of the tied colors
Author: Reptorian.
Default values:
_tie_breaker=0
Example of use:
testimage2d 200,200 .x4 foreach { 75,75,1,3,[{expr('v(255)',3)}] j.. .,$%~,$%~ rm. } +rep_mode_blend


Home
Download
News
Mastodon
Bluesky
X
Summary - 18 Years
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




