]> git.eshelyaron.com Git - emacs.git/commit
Add support for animated webp images
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 10 Apr 2022 11:12:30 +0000 (13:12 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 10 Apr 2022 11:12:41 +0000 (13:12 +0200)
commitd82e1a873df381b2c35bc9036da5665468bdfd31
tree0b3067244c3c513ac70a4415eca9a1c630040d9a
parent735b45191041778824460807ee5bf4d1cebd3421
Add support for animated webp images

* configure.ac (HAVE_RSVG): Also include the webpdemux library.
It was new in version 0.4.4, and we require 0.6.0, so it should be
safe.
* src/image.c: Include demux.h.
(enum webp_keyword_index, webp_format): Include :index for
animations.
(init_webp_functions): Add Windows LOAD_DLLs.
(struct webp_cache, webp_create_cache)
(webp_prune_animation_cache, webp_get_animation_cache): New
functions.
(webp_load): Support animated webp images (bug#54242).
configure.ac
src/image.c