Colour Changing in Images - fastest way?

BlitzMax Forums/BlitzMax Programming/Colour Changing in Images - fastest way?

By using DrawImage/GrabImage without a flip, I guess there could be an initialisation phase for that. There's a potential problem though in that there could be up to 25 different combinations required. If the size of the AnimImage was 512x512, that'd make 25MB just for images, rather than the 2MB or so maximum by drawing each bit.