| Table of Contents ▸ List of Commands ▸ Values Manipulation ▸ quantize | ◀ polar2complex | quantize_area ▶ |
quantize
Arguments:
- nb_levels>=1,_keep_values={ 0:No | 1:Yes },_quantization_type={ -1:Median-cut | 0:K-means | 1:Uniform }
Description:
Quantize selected images.Default values:
keep_values=1 and quantization_type=0.
Examples of use:
• Example #1
image.jpg luminance +quantize 3
• Example #2
200,200,1,1,'cos(x/10)*sin(y/10)' +quantize[0] 6 +quantize[0] 4 +quantize[0] 3 +quantize[0] 2


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





