1
0
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:
JustFrederik
2024-06-19 14:05:05 +02:00
committed by GitHub
parent 902b4d960d
commit 52a8e11764
10 changed files with 254 additions and 11 deletions

View File

@@ -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"]