Closed paulmelis closed 1 year ago
This is not a nokhwa issue. This is an issue with the image crate. Please open an issue there.
This is caused by nokhwa importing image with default-features = false
. That setting cuts down on code size by stripping out support for encoding/decoding all the image formats causing them to return "Unsupported".
With the latter direct
.save()
I get this error:I'm not exactly sure why that happens (don't know enough about Rust yet to figure that out)?
Edit: this is on Linux with input-v4l, nokhwa 0.9.4, rust 1.64.0