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.
Note that some gradients are still not properly supported, please send me minimal testcases reproducing issues you find!
Clone the repository:
% git clone https://git.linkmauve.fr/hvif.git
Build:
% meson build && ninja -C build
Install (as root):
# ninja -C build install
You can install the hvif-git package from AUR.
Click on a HVIF file to render it in your browser.