Gimp-Forum.net

Full Version: Algorithm for indexed image mode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've always been marveled at GIMP and very happy that it's so accessible.

I was wondering if I can ask, I'd like to know how indexing works and creation of a palette, it happens so quickly that I was wondering if anyone could tell me (even if roughly) how this indexing works. Or even point me to a an article or the name of the creator of this particular algorithm.

I attach an image of what I am talking about.

[attachment=10136]
(07-27-2023, 02:05 PM)Ofnuts Wrote: [ -> ]Source code is here: https://gitlab.gnome.org/GNOME/gimp/-/bl...-indexed.c

How fantastic is open source!
A simple link and the OP got a lot more than expected Big Grin