icon

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

hvif_tools-1.0.1-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.

Cross‑platform: Linux, macOS, Windows and Haiku

パッケージ名
hvif_tools
リポジトリ
HaikuPorts
リポジトリソース
haikuports_x86_64
バージョン
1.0.1-1
ダウンロードサイズ
82.2 KB
ソースコードは入手可か
はい
カテゴリー
システム&ユーティリティ
このバージョンの閲覧回数
6