Returns the current image size (width and height in pixels). The method fills the passed integer values representing width and height of the image and returns them to the calling subroutine.