Closed Quintasan closed 2 months ago
For some reason, the assertions fail when I try to encode the attached photo using the Rust example provided.
I added println!("width: {width}, height: {height}"); before the rgba_to_thumb_hash call to see if the image crate does something bizarre, but it doesn't. I tried it with a different photo and I get the same error
println!("width: {width}, height: {height}");
rgba_to_thumb_hash
image
Any ideas what I'm doing wrong? Both images are definitely bigger than 100x100
... duh
I just realized I can't read 😅
For some reason, the assertions fail when I try to encode the attached photo using the Rust example provided.
I added
println!("width: {width}, height: {height}");
before thergba_to_thumb_hash
call to see if theimage
crate does something bizarre, but it doesn't. I tried it with a different photo and I get the same errorAny ideas what I'm doing wrong? Both images are definitely bigger than 100x100