Image

Image example

The Image widget can be used to display... well... images.

You will most probably need the image crate to convert an image to Rgba8.

Image::new(
    ImageData::new(
        Blob::from(
            image::load_from_memory(IMAGE_DATA)
                .unwrap()
                .into_rgba8()
                .to_vec(),
        ),
        ImageFormat::Rgba8,
        427,
        640,
    )
)

See the image example for full usage.