Yep but my algorithm to create palettes is better, on the same image with multiple palettes without quantization you will get less colors
And the same image if you back to windows bmp.
Maybe I will add a menu to select how the quantization is applied, not easy to determine the final number of colors.
On each line I try to use all palettes previously defined and I complete they if it's not full.
All images with more 251 colors have multiples palettes, if you convert your avatar you will get an image with 12992 colors = 12992/251 = 52 palettes.
A palette is maximum 250 colors rgb565 + 1 color empty (alpha or black, first color in the palette).
I forgot to precise, all is not sure it's only how I built my algo![]()
Bookmarks