use zune_jpeg::JpegDecoder;
use std::fs::read;
fn main() {
// load some jpeg data
let data = read("tBtdPVJPy2M.jpg").unwrap();
// create a decoder
let mut decoder = JpegDecoder::new(&data);
// decode the file
let _pixels = decoder.decode().unwrap();
Hi, the version 0.5.0-rc0 has a fix for this, but since I changed the read api to accept more io types it's a breaking change and I don't have the time to backport it to 0.4.0.
Hello I found this picture
i run
I got