Expand description
Images display raster graphics in different formats (PNG, JPG, etc.).
§Example
use iced::widget::image;
enum Message {
// ...
}
fn view(state: &State) -> Element<'_, Message> {
image("ferris.png").into()
}
Re-exports§
pub use viewer::Viewer;
Modules§
- Zoom and pan on an image.
Structs§
- A frame that displays an image while keeping aspect ratio.
Enums§
- Image filtering strategy.
- A handle of some image data.