kornelski / dssim

Image similarity comparison simulating human perception (multiscale SSIM in Rust)
https://kornel.ski/dssim
GNU Affero General Public License v3.0
1.07k stars 69 forks source link

Broken AVIF feature #112

Closed UnKnoWn-Consortium closed 2 years ago

UnKnoWn-Consortium commented 2 years ago

I noticed that AVIF was (finally!) a feature listed in the Cargo.toml. I tried to compile a version with that option enabled but to no avail. The compilation process throws a E0061 "invalid number of arguments" error in line 16 of avif.rs in the crate load_image.

I filled the missing argument with a vec![] and it compiles. It is now working like a charm.

The repo for the load_image crate is nowhere to be found, so forgive me for posting it as an issue here.

kornelski commented 2 years ago

Fixed. Run cargo update and try again.

UnKnoWn-Consortium commented 2 years ago

wow that's quick. I can confirm it works now. Thanks a lot!