# Pigment.O plugin

**URL:** <https://krita-artists.org/t/pigment-o-plugin/4531>\
**Category:** Plugins and Scripts\
**Created:** [March 23, 2020, 5:49pm UTC](https://krita-artists.org/t/pigment-o-plugin/4531 "2020-03-23T17:49:39Z")\
**Posts on this page:** 1\
**Showing post:** 525

<div class="post-metadata">

**Author:** ![TheTwo](https://krita-artists.org/user_avatar/krita-artists.org/thetwo/32/32836_2.png) [@TheTwo](https://krita-artists.org/u/TheTwo)\
**Post date:** [December 17, 2021, 11:26pm UTC](https://krita-artists.org/t/pigment-o-plugin/4531/525 "2021-12-17T23:26:22Z")

</div>

> [@EyeOdin](#):
>
> I can analyze a image and get the set of colors of a image

Is it similar to krita’s own “colors from image”?  
Is there a way to add a set of colors obtained in the picture to the color palette? It is best to create a new “swatvh groups” in the current color palette. In this way, we can quickly extract the commonly used color sets of favorite painters.

E1：  
I envisioned a new project: color analysis

**numbers** : the total number of colors obtained from the picture

**Source** :

- IMG docker
- krita image
- selected layer

**Added** :

- new color palette
- new swatch group

**arrangement** :  
Proportion  
Luminosity

Options: **each layer** : If you select “selected layer” and check it, each layer will use “numbers”. When creating a new color palette and swapvh group, the colors obtained by each layer will also remain independent;If you don’t check it. Then the multiple layers will get a total of “numbers” colors. And is a whole piece when added to the swatch or palette

**colums** :Number of columns of swatches

**extra rows** : When the image color is acquired, how many rows are vacated. The total number of rows is numbers/colums+extra rows

---

_[View the full topic](https://krita-artists.org/t/pigment-o-plugin/4531)._
