Jason Ward wrote:
whenever I am calling get_pallete it tells me that the surface is not palletised. But I have no clue how to make a surface palletised, I can't find it in the docs. Would surfarray be faster than using palletes to update entire surfaces? Should I use numpy, surfarray, numeric or palletes to update entire surfaces? (the fastest is the best imo)
Any pygame surface that is 8bits will always have a palette. Also, loading GIF or PNG images that are 8bit will be palettized.
You can generally modify a palette with straight python lists. It's fast enough to modify and assign realtime.