Thanks for the replies guys, the 0.5 for CentreX and CentreY was the answer. I assumed CentreX and CentreY was the pixel coordinate of where on the image it was to take as the center!

Thanks again.