org-odt.el: Do `clear-image-cache' before `create-image'
This commit is contained in:
parent
c90ea7a979
commit
171ead5dc8
|
@ -1966,7 +1966,8 @@ ATTR is a string of other attributes of the a element."
|
||||||
(pixels-to-cms (cdr size-in-pixels)))))))
|
(pixels-to-cms (cdr size-in-pixels)))))))
|
||||||
(case probe-method
|
(case probe-method
|
||||||
(emacs
|
(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
|
(imagemagick
|
||||||
(size-in-cms
|
(size-in-cms
|
||||||
(let ((dim (shell-command-to-string
|
(let ((dim (shell-command-to-string
|
||||||
|
|
Loading…
Reference in New Issue