icon

A toolkit for converting Haiku Vector Icon Format (HVIF) icons to SVG and back

hvif_tools-1.1.0-1-x86_64

A small set of command‑line tools to work with the Haiku Vector Icon Format (HVIF).

hvif2svg:
* Parses .hvif with header validation.
* Renders paths (points/curves), shapes, and styles (solid colors and gradients).
* Supports fills and strokes (via HVIF transformers STROKE/CONTOUR).
* Linear and radial gradients with gradientTransform; proper stop opacity.
* Uses HVIF’s internal grid (viewBox 0 0 6528 6528 = 64 × 102 units).

svg2hvif:
* SVG parsing via NanoSVG (header‑only).
* Normalizes coordinates to HVIF’s 64 × 64 space and centers content.
* Converts fill and stroke (caps/joins/miter limit), stroke widths, and opacity.
* Linear and radial gradients with calculated HVIF gradient transforms.
* CLI and buffer‑to‑buffer example for embedding into apps/pipelines.

Inkscape extensions:
* Import from HVIF
* Export to HVIF

Nom
hvif_tools
Dépôt
HaikuPorts
Dépôt Source
haikuports_x86_64
Version
1.1.0-1
Download Size
85.5 KB
Source available
Yes
Catégories
Système et Utilitaires
Version Views
17