diff --git a/lisp/org-odt.el b/lisp/org-odt.el index 822e62fd9..c627bd111 100644 --- a/lisp/org-odt.el +++ b/lisp/org-odt.el @@ -1966,7 +1966,8 @@ ATTR is a string of other attributes of the a element." (pixels-to-cms (cdr size-in-pixels))))))) (case probe-method (emacs - (size-in-cms (ignore-errors (image-size (create-image file) 'pixels)))) + (size-in-cms (ignore-errors (clear-image-cache) + (image-size (create-image file) 'pixels)))) (imagemagick (size-in-cms (let ((dim (shell-command-to-string