This function returns the size of an image as a pair
(
width.
height)
.spec is an image specification. pixels non-nil
means return sizes measured in pixels, otherwise return sizes measured in the default character size of frame (see Frame Font). frame is the frame on which the image will be displayed. frame null or omitted means use the selected frame (see Input Focus).