It seems that Image.Bound does not take into account the rotation of the image, resulting in incorrect data being read when the image is rotated.