1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 16:51:06 -07:00

Add support for native webp images on Haiku

* src/haikuimage.c (haiku_can_use_native_image_api): Add support
for `webp' images.
This commit is contained in:
Po Lu 2022-01-09 04:44:16 +00:00
parent 97f41faf09
commit 91f778d3af

View file

@ -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;