mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 04:40:03 -04:00
Two small documentation typos noticed while reading the docs: - `crates/egui_extras/README.md`: "adds some features on top top of" -> "adds some features on top of" - `README.md`: "check out the [the egui web demo]" -> "check out [the egui web demo]" (removes the duplicated "the"; link text and target unchanged) Documentation only; no code changes.
22 lines
989 B
Markdown
22 lines
989 B
Markdown
# egui_extras
|
|
|
|
[](https://crates.io/crates/egui_extras)
|
|
[](https://docs.rs/egui_extras)
|
|
[](https://github.com/rust-secure-code/safety-dance/)
|
|

|
|

|
|
|
|
This is a crate that adds some features on top of [`egui`](https://github.com/emilk/egui). This crate is for experimental features, and features that require big dependencies that do not belong in `egui`.
|
|
|
|
## Images
|
|
One thing `egui_extras` is commonly used for is to install image loaders for `egui`:
|
|
|
|
```toml
|
|
egui_extras = { version = "*", features = ["all_loaders"] }
|
|
image = { version = "0.25", features = ["jpeg", "png"] } # Add the types you want support for
|
|
```
|
|
|
|
```rs
|
|
egui_extras::install_image_loaders(egui_ctx);
|
|
```
|