$ bonk example.jpg
thread 'main' panicked at src/process.rs:92:14:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Aborted
$ rustc --version rustc 1.80.1 (3f5fd8dd4 2024-08-06)
Can you let me know what version of Ubuntu you're running, please? I can try to replicate it in a VM.
I assume you built the binary, installed, and the example.png image existed in the path you input? I ask because the error message does mention the file not existing.