]> git.eshelyaron.com Git - emacs.git/commit
Allow eww to display exotic images like webp
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 19 Nov 2019 10:47:19 +0000 (11:47 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 19 Nov 2019 10:47:25 +0000 (11:47 +0100)
commit067a42f8dd2ce19de3203605ee8c1c08aa192580
treeb316871e26d62bad39e8d9068f7884b401a57f0d
parent49192e9510fe3c491b8c759a639bbe8bccf35856
Allow eww to display exotic images like webp

* lisp/image.el (image-type): Allow passing in the image type.
(create-image): Make conversion work with data in addition to files.

* lisp/image/image-converter.el (image-convert-p): Allow taking
working on data in addition to files (bug#38036).
(image-convert): Ditto.
(image-converter--convert): Extend signature to say whether we're
getting a file or data.
(image-converter--convert-magick): Convert data.
(image-converter--convert): Ditto.
lisp/image.el
lisp/image/image-converter.el