Update 0.2.0
[h3]Added mode selection when reducing the color palette.[/h3]
The new mode works for images that have an original palette of 512 colors or less.

Previously, only one mode - absorption mode - worked when reducing colors. The color with the smallest number of pixel occurrences was removed from a pair of colors (close in the palette), and its pixels were recolored in the remaining color.
Now a new mode - color mixing - has been added. In a pair of colors, taking into account their weight (the number of pixels of a given color) is mixed and a new color appears, which is used to paint all the pixels of this pair of colors.
On the example of this picture, you can see how it works when you reduce the palette by two colors.

Original picture, 10 colors.

Absorption mode, 8 colors.

Mixing mode, 8 colors.

Comparison of modes.
If you suddenly missed the release of Coloring Game: Girls 2, hurry up.
https://store.steampowered.com/app/3246900/Coloring_Game_Girls_2/
The new mode works for images that have an original palette of 512 colors or less.

Previously, only one mode - absorption mode - worked when reducing colors. The color with the smallest number of pixel occurrences was removed from a pair of colors (close in the palette), and its pixels were recolored in the remaining color.
Now a new mode - color mixing - has been added. In a pair of colors, taking into account their weight (the number of pixels of a given color) is mixed and a new color appears, which is used to paint all the pixels of this pair of colors.
On the example of this picture, you can see how it works when you reduce the palette by two colors.

Original picture, 10 colors.

Absorption mode, 8 colors.

Mixing mode, 8 colors.

Comparison of modes.
If you suddenly missed the release of Coloring Game: Girls 2, hurry up.
https://store.steampowered.com/app/3246900/Coloring_Game_Girls_2/