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:
parent
97f41faf09
commit
91f778d3af
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue