MidHandleImage sets an images handle to it's centre.
AutoMidHandle True means all images will have a MidHandleImage automatically applied to them when then are loaded. The documentation says that AutoMidHandle is applied to all images created but it seems to only work with images that are loaded. It's either a bug in BlitzMax or bad documentation.
SetHandle x, y positions the image's handle manually.
In your example, the AutoMidHandle won't apply to your created image. Instead, use 'MidHandleImage testImage' between creating and drawing your image.
AutoMidHandle True means all images will have a MidHandleImage automatically applied to them when then are loaded. The documentation says that AutoMidHandle is applied to all images created but it seems to only work with images that are loaded. It's either a bug in BlitzMax or bad documentation.
SetHandle x, y positions the image's handle manually.
In your example, the AutoMidHandle won't apply to your created image. Instead, use 'MidHandleImage testImage' between creating and drawing your image.