Apologies if this has already been covered. I'm looking for the quickest means to change a few colours of an image, for example changing the two colours of a football kit to whatever is relevant for the team.
In Blitz3D this was done using Imagebuffers and Masks, and I'm not about to open that can of worms again. I know it's impossible right now, and that's fine.
One easy way to do it is using LockImage and then Read/Write pixel. It certainly seems very fast (converts an entire 30*40 image in 0.64 ms on a 2.2GHz machine) but I wonder if there's a quicker method anywhere. I wouldn't want to miss out on a timesaver.
If anyone knows anything, that'd be great.
In Blitz3D this was done using Imagebuffers and Masks, and I'm not about to open that can of worms again. I know it's impossible right now, and that's fine.
One easy way to do it is using LockImage and then Read/Write pixel. It certainly seems very fast (converts an entire 30*40 image in 0.64 ms on a 2.2GHz machine) but I wonder if there's a quicker method anywhere. I wouldn't want to miss out on a timesaver.
If anyone knows anything, that'd be great.