ImageData.html::new_with_u8_clamped_array
should accept immutable u8_clamped_array
#2364
Labels
ImageData.html::new_with_u8_clamped_array
should accept immutable u8_clamped_array
#2364
Motivation
This requites piet-web to clone the entire image even when it is already in the right format, this is costly because images are big.
Proposed Solution
ImageData.html::new_with_u8_clamped_array
should accept an imitableu8_clamped_array
because I suspect it is not needed (I'm sure you know that better then I do).This was originally mentioned in in #1005 by @raphlinus but that has since been closed.
The text was updated successfully, but these errors were encountered: