Palette Swapping

BlitzMax Forums/BlitzMax Beginners Area/Palette Swapping

Eric Vaughn(Posted 2006) [#1]
Hello,

Could someone point me in the right direction with changing the palette of one of my images? I want to swap each individual color in the image with a different one.

Thanks.


H&K(Posted 2006) [#2]
You loop throug each pixel, if its the colour you want to change, you change it.


(tu) ENAY(Posted 2006) [#3]
Unfortunately you cannot do an old skool palette swap because BMAx doesn't support 8 bit colour modes. You have to individually change each pixel like H&K says.