Skip to main content

create_image_data

Function create_image_data 

Source
pub fn create_image_data(width: u32, height: u32) -> PixelData
Expand description

upstream createImageData(width, height). TODO: browser-canvas concern, not needed for byte IO.