TechnikTobi / little_exif

A little library for reading and writing EXIF data in pure Rust.
Apache License 2.0
18 stars 4 forks source link

Panic while reading images #6

Open Linken-code opened 4 months ago

Linken-code commented 4 months ago

When I was reading the photo, the Metadata:: new_from_path method panicked

    match Metadata::new_from_path(&image_path) {
        Ok(metadata) => {
            println!("metadata--{:#?}", metadata.data());
        }
        Err(err) => {
            println!("err ---{:#?}", err);
        }
    }

1709373625094

The photo used for testing is this one

test