Commit 4a13c2af authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen
Browse files

Fix loading image-converter in the case where the type is passed in

* lisp/image.el (create-image): Load image-converter when
converting images (bug#38310).
parent 832bdaf6
......@@ -480,6 +480,7 @@ Image file names that are not absolute are searched for in the
;; If we have external image conversion switched on (for exotic,
;; non-native image formats), then we convert the file.
(when (eq type 'image-convert)
(require 'image-converter)
(setq file-or-data (image-convert file-or-data data-format)
type 'png
data-p t)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment