2 releases

0.1.1 Sep 15, 2021
0.1.0 Sep 15, 2021

#770 in Images

30 downloads per month
Used in gdk-pixbuf-hvif

MPL-2.0 license

49KB
1K SLoC

HVIF parser and renderer

crates.io docs.rs License Join the XMPP chat at hvif@muc.linkmauve.fr

A pure Rust implementation of HVIF, the Haiku Vector Icon Format.

The parsing is done using nom, and the rendering using cairo.

A GDK-Pixbuf loader is also provided for every Linux program using this library.

How to use

Clone the repository:

% git clone https://git.linkmauve.fr/hvif.git

Build:

% meson hvif build && ninja -C build

Install (as root):

# ninja -C build install

Packages

ArchLinux

You can install the hvif-git package from AUR.

Dependencies

~0.8–1.3MB
~25K SLoC