wgpu_test::image

Function read_png

Source
async fn read_png(
    path: impl AsRef<Path>,
    width: u32,
    height: u32,
) -> Option<Vec<u8>>