Image.handle_x and image.handle_y holds the imagehandle.
If it's imagewidth/2 and imageheight/2 then it's midhandled.
P.S. For further info look at the code for Midhandleimage.
If it's imagewidth/2 and imageheight/2 then it's midhandled.
P.S. For further info look at the code for Midhandleimage.