项目作者: kanru

项目描述 :
decompress an AVIF file to an image file
高级语言: Rust
项目地址: git://github.com/kanru/davif.git
创建时间: 2020-05-31T14:10:22Z
项目社区:https://github.com/kanru/davif

开源协议:Other

下载


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

  1. cargo install davif
  2. sudo install $HOME/.cargo/bin/davif /usr/bin

Install the mime type definition

  1. mkdir -p $HOME/.local/share/mime/packages
  2. cp avif.xml $HOME/.local/share/mime/packages
  3. update-mime-database $HOME/.local/share/mime

Then install the thumbnailer config

  1. 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.