From: Po Lu Date: Sun, 9 Jan 2022 04:44:16 +0000 (+0000) Subject: Add support for native webp images on Haiku X-Git-Tag: emacs-29.0.90~3187 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=91f778d3af27a6c6d76da980b0082e00ebbf08ad;p=emacs.git Add support for native webp images on Haiku * src/haikuimage.c (haiku_can_use_native_image_api): Add support for `webp' images. --- diff --git a/src/haikuimage.c b/src/haikuimage.c index 4ffa214f1cf..fe960bbc291 100644 --- 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;