improve handling of animated webp images

Use mainline image crate to avoid an otherwise unavoidable panic
in the upstream: https://github.com/image-rs/image/issues/1775

Explicitly operate on the frames from the animation.

refs: https://github.com/wez/wezterm/issues/3250
This commit is contained in:
Wez Furlong committed 2023-03-15 11:34:47 -07:00
1 parent c6dc38b7f3
commit 2bfb29f1be
7 files changed
+33 -15

No files matched your search

+2 -1
View File
@@ -10,7 +10,8 @@ anyhow = "1.0"
config = { path = "../../config" }
csscolorparser = {version="0.6", features=["lab"]}
deltae = "0.3"
image = "0.24.2"
# we want image 0.24.6 or later. see https://github.com/wez/wezterm/issues/3250
image = {version="0.24", git="https://github.com/image-rs/image.git", rev="fe069785ae245a2c510fd724ef96da283b05a236"}
lazy_static = "1.4"
log = "0.4"
lru = "0.7"