You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Noting a known bug when rendering non-square images:
I think this is probably in the util.cols_to_image function (I've probably presumed something incorrectly about the png format)
pubfncols_to_image(arr:&Array3<u8>) -> RgbImage{let(width, height, _) = arr.dim();RgbImage::from_vec(
width asu32,
height asu32,
arr.as_slice().unwrap().to_vec(),).expect("container should have the right size for the image dimensions")}
The text was updated successfully, but these errors were encountered:
Noting a known bug when rendering non-square images:
I think this is probably in the
util.cols_to_image
function (I've probably presumed something incorrectly about the png format)The text was updated successfully, but these errors were encountered: