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.

Note that some gradients are still not properly supported, please send me minimal testcases reproducing issues you find!

How to use

Clone the repository:

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

Build:

% meson build && ninja -C build

Install (as root):

# ninja -C build install

Packages

ArchLinux

You can install the hvif-git package from AUR.

Example

Click on a HVIF file to render it in your browser.

Links