Gets the image X and Y resolution
Gets the image X and Y resolution.
Returns the resolution as an array.
Throws ImagickException on error.