mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 14:20:04 -04:00
Gif support (#4620)
* Previous PR: #3951 * Closes #4489 --------- Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
This commit is contained in:
@@ -30,7 +30,7 @@ all-features = true
|
||||
default = ["dep:mime_guess2"]
|
||||
|
||||
## Shorthand for enabling the different types of image loaders (`file`, `http`, `image`, `svg`).
|
||||
all_loaders = ["file", "http", "image", "svg"]
|
||||
all_loaders = ["file", "http", "image", "svg", "gif"]
|
||||
|
||||
## Enable [`DatePickerButton`] widget.
|
||||
datepicker = ["chrono"]
|
||||
@@ -38,6 +38,9 @@ datepicker = ["chrono"]
|
||||
## Add support for loading images from `file://` URIs.
|
||||
file = ["dep:mime_guess2"]
|
||||
|
||||
## Support loading gif images.
|
||||
gif = ["image", "image/gif"]
|
||||
|
||||
## Add support for loading images via HTTP.
|
||||
http = ["dep:ehttp"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user