projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97f41fa
)
Add support for native webp images on Haiku
author
Po Lu
<luangruo@yahoo.com>
Sun, 9 Jan 2022 04:44:16 +0000
(
04:44
+0000)
committer
Po Lu
<luangruo@yahoo.com>
Sun, 9 Jan 2022 04:44:16 +0000
(
04:44
+0000)
* src/haikuimage.c (haiku_can_use_native_image_api): Add support
for `webp' images.
src/haikuimage.c
patch
|
blob
|
history
diff --git
a/src/haikuimage.c
b/src/haikuimage.c
index 4ffa214f1cfa35306ae55c20b171640ce98adba8..fe960bbc29126fda3f0b773670ede5a7dd5b6892 100644
(file)
--- a/
src/haikuimage.c
+++ b/
src/haikuimage.c
@@
-52,6
+52,8
@@
haiku_can_use_native_image_api (Lisp_Object type)
mime_type = "image/svg";
else if (EQ (type, Qpbm))
mime_type = "image/pbm";
+ else if (EQ (type, Qwebp))
+ mime_type = "image/webp";
if (!mime_type)
return 0;