Cykooz / libheif-rs

Safe wrapper to libheif-sys for parsing heif/heic files
MIT License
34 stars 11 forks source link

Unable to set encoder parameter values #7

Closed wilsonzlin closed 2 years ago

wilsonzlin commented 2 years ago

I'm currently trying to use this library to encode to AVIF, but can't find any way to set the speed parameter. I believe in libheif heif_encoder_set_parameter_integer is used, but I can't find any corresponding Rust method in this library. Is this possible?

Cykooz commented 2 years ago

Thank you for your message. I've made a new release of the crate.

[0.15.1] - 2022-10-21

Added method Encoder::set_parameter_value().
wilsonzlin commented 2 years ago

Thanks @Cykooz for the quick update!