mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 14:20:04 -04:00
Animated WebP support (#5470)
Adds support for animated WebP images. Used the already existing GIF implementation as a template for most of it. * [x] I have followed the instructions in the PR template --------- Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
This commit is contained in:
@@ -31,7 +31,7 @@ rustdoc-args = ["--generate-link-to-definition"]
|
||||
default = ["dep:mime_guess2"]
|
||||
|
||||
## Shorthand for enabling the different types of image loaders (`file`, `http`, `image`, `svg`).
|
||||
all_loaders = ["file", "http", "image", "svg", "gif"]
|
||||
all_loaders = ["file", "http", "image", "svg", "gif", "webp"]
|
||||
|
||||
## Enable [`DatePickerButton`] widget.
|
||||
datepicker = ["chrono"]
|
||||
@@ -42,6 +42,9 @@ file = ["dep:mime_guess2"]
|
||||
## Support loading gif images.
|
||||
gif = ["image", "image/gif"]
|
||||
|
||||
## Support loading webp images.
|
||||
webp = ["image", "image/webp"]
|
||||
|
||||
## Add support for loading images via HTTP.
|
||||
http = ["dep:ehttp"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user