Crates.io | davif |
lib.rs | davif |
version | 1.0.0 |
source | src |
created_at | 2020-05-31 15:05:53.188383 |
updated_at | 2020-05-31 15:05:53.188383 |
description | decompress an AVIF file to an image file |
homepage | https://github.com/kanru/davif |
repository | https://github.com/kanru/davif |
max_upload_size | |
id | 248187 |
size | 26,233 |
Decompress an AVIF file to an image file. As of 2020-05-31 only PNG format output is implemented.
I wrote this program to use it as a thumbnailer for Gnome desktop.
The commandline switch is compatiable with the dwebp
utility for webp.
First install the binary
cargo install davif
sudo install $HOME/.cargo/bin/davif /usr/bin
Install the mime type definition
mkdir -p $HOME/.local/share/mime/packages
cp avif.xml $HOME/.local/share/mime/packages
update-mime-database $HOME/.local/share/mime
Then install the thumbnailer config
install -m644 avif.thumbnailer $HOME/.local/share/thumbnailers/
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.