ImagesCollide speed

BlitzPlus Forums/BlitzPlus Programming/ImagesCollide speed

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I know that ImagesOverlap is faster than ImagesCollide but does anyone know whether the ImagesCollide code is optimised to first check the coords of the two images before possibly wasting time testing them? I guess I could write a test app but someone may know the answer. To be honest I assume that this was coded in but would like to know for sure so I can decide if I should code a pre-test.

Also does anyone know if it is worth making a black and white image (1 bit depth) of your graphics to pass into ImagesCollide or does it do this automatically? I guess making them in advance and reusing them would save processing time. Finally is there a quick and easy way of converting a 24 bit image two 1 bit depth in code (instead of Paint Shop Pro ;-))?

Thanks in advance