image-transform-check-size

image-transform-check-size is a compiled Lisp function in `image-mode.el'.

(image-transform-check-size)

Check that the image exactly fits the width/height of the window.

Do this for an image of type `imagemagick' to make sure that the
elisp code matches the way ImageMagick computes the bounding box
of a rotated image.