Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Algorithm for indexed image mode
#1
Scheme 
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.

   
Reply
#2
Source code is here: https://gitlab.gnome.org/GNOME/gimp/-/bl...-indexed.c
Reply
#3
(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
Patrice
Reply
#4
Some information about palettes and indexed colors :
https://www.scantips.com/palettes.html
https://en.wikipedia.org/wiki/Indexed_color
https://en.wikipedia.org/wiki/List_of_8-...e_graphics
Reply


Forum Jump: