mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 06:10:06 -04:00
Update image crate to 0.25 (#4160)
To not produce duplicating deps in Rerun (https://github.com/rerun-io/rerun/pull/5280) I suggest we wait with merging this until these crates have updated to `image` 0.25: * [x] [`arboard`](https://crates.io/crates/arboard) * [x] [`gltf`](https://crates.io/crates/gltf)
This commit is contained in:
@@ -43,7 +43,7 @@ impl RetainedImage {
|
||||
/// `image_bytes` should be the raw contents of an image file (`.png`, `.jpg`, …).
|
||||
///
|
||||
/// Requires the "image" feature. You must also opt-in to the image formats you need
|
||||
/// with e.g. `image = { version = "0.24", features = ["jpeg", "png"] }`.
|
||||
/// with e.g. `image = { version = "0.25", features = ["jpeg", "png"] }`.
|
||||
///
|
||||
/// # Errors
|
||||
/// On invalid image or unsupported image format.
|
||||
@@ -195,7 +195,7 @@ use egui::ColorImage;
|
||||
/// Load a (non-svg) image.
|
||||
///
|
||||
/// Requires the "image" feature. You must also opt-in to the image formats you need
|
||||
/// with e.g. `image = { version = "0.24", features = ["jpeg", "png"] }`.
|
||||
/// with e.g. `image = { version = "0.25", features = ["jpeg", "png"] }`.
|
||||
///
|
||||
/// # Errors
|
||||
/// On invalid image or unsupported image format.
|
||||
|
||||
Reference in New Issue
Block a user