davif

Crates.iodavif
lib.rsdavif
version1.0.0
sourcesrc
created_at2020-05-31 15:05:53.188383
updated_at2020-05-31 15:05:53.188383
descriptiondecompress an AVIF file to an image file
homepagehttps://github.com/kanru/davif
repositoryhttps://github.com/kanru/davif
max_upload_size
id248187
size26,233
Kan-Ru Chen (kanru)

documentation

README

DAVIF

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.

Install

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/

License

Licensed under either of

at your option.

Contribution

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.

Commit count: 3

cargo fmt