| Table of Contents ▸ List of Commands ▸ Colors ▸ colormap | ◀ colorblind | compose_channels ▶ |
colormap
Arguments:
- nb_levels>=0,_method={ 0:Median-cut | 1:K-means },_sort_vectors
Description:
Estimate best-fitting colormap with nb_colors entries, to index selected images.Set nb_levels==0 to extract all existing colors of an image.
sort_vectors can be { 0:Unsorted | 1:By increasing norm | 2:By decreasing occurrence }.
Default values:
method=1 and sort_vectors=1.
This command has a .
Example of use:
<a href="image.jpg" class="highslide" onclick="return hs.expand(this)">image.jpg</a> +colormap[0] 4 +colormap[0] 8 +colormap[0] 16


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


