[][src]Function pconvert_rust::wasm::utils::load_png

pub async fn load_png(
    file: File,
    demultiply: bool
) -> Result<ImageBuffer<Rgba<u8>, Vec<u8>>, JsValue>

Receives a File and returns the decoded PNG byte buffer.