Number of colors and current color palette

I wonder, is there a way to know the current color palette of an image I am working on, as well as current number of colors on it?

Ideally, a docker color palette window that is dynamically updated every time new color is added to the image, along with the number of colors that is dynamically updated as well?

On a raw base image, I often want to know every color everywhere, and tools like crop, move, etc. have habit to introduce anti-aliasing and other distortion effects at the position where they cut/separate lines. And I often don’t notice these effects until later when they give me a headache to iron out. Of course, I turned off anti-aliasing on all tools but still, every once in a while some new reason pop up for new color(s) to be added and me not noticing that… So I think the safest is that I just know which colors and how many are currently present on the image, all the time.

In Krita under ā€˜ā€˜Settings’’ >> ā€˜ā€˜Configure Krita’’ >> ā€˜ā€˜Color Selector Settings’’ you have to select ā€˜ā€˜Advanced Color Selector" behind "Docker:’’ (that is the drop-down menu on top of that page), then you are shown the tabs of the ā€˜ā€˜Advanced Color Selector’’ >> and from these tabs select the last tab ā€˜ā€˜Colors from Image’’ and adjust its settings like you want them.
And from then on the ACS will show you the colors from the image on canvas, if fixed or constantly updating with each new stroke can be set up.

Michelist

I followed your instructions in few Krita version, including the latest. However I can’t figure it out what’s going on.

In the past I did notice that near advanced color selector, colors were piling up, but that was the color history. This time, I checked where you suggested and I notice a button that says ā€œcreate a list of colors from the imageā€.

I created a white background with a few black lines - one layer, two colors only on it. When I clicked on the button however, instead of getting two small squares, white and black, I got just one gray square… So that button definitely didn’t pick colors from image. If I have just one color, say white, then button will indeed add just one white square, but as soon as I add black to the layer, instead of adding new black square, it turns the white square into the gray. The same happens if I check ā€œupdate after every strokeā€ in settings, but on-the-fly.


This is a possible setup,↑ you can vary the number of Rows/Columns (depending on your setup) and number of max. Patches. And here the result of that setting. ↓

Michelist

1 Like

Yeah, I checked the settings you showed on the img1.

The thing is, by default, vertical column at the right edge is reserved for color history (CH). And horizontal row at the bottom of the advanced color selector (ACS) is reserved for colors from image (CFI). I saw no reason to change anything and left it on default.

Now if you want to tell me that all the colors you put on canvas on img2 have appeared in that vertical column at right side of ACS, well that’s CH. On the other hand if you look at the bottom of ACS, you will notice two empty rows for CFI, just as you set on img1, but there are no colors there. For colors to appear in that row I have to either click on that small round button at the beginning of first CFI row or turn on that ā€œupdate after every strokeā€.

Problem is, colors that appear after I click on the button or after I turn on updating, are not colors on the canvas…

You are right, seems I should not answer 5 minutes after I awoke. :wink:
But for me, this feature works nonetheless, it is only the other columns. ↓

The only issue may be pictures with hundreds of colors, because you are limited to 99 colors, and that is double the count of the best online-generator I know.

Michelist

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.