Lee Harr wrote:
any 8bit image has a palette. the best way to get an 8bit image is to load one from disk. if you have a predefined palette you want to apply to any image, you can get SDL to do it with the 'convert' command.What makes a Surface have a palette? I was thinking that using set_palette might be an interesting way of changing the color of a sprite (instead of creating multiple images)