IT lexicon › Programming › HVIF (Haiku Vector Icon Format)

HVIF (Haiku Vector Icon Format)

Programming På svenska → Updated: 2026-11-09

Haiku's binary vector icon format, designed so that a crisp icon at any size fits in a few hundred bytes.

BeOS shipped bitmap icons in two sizes, 16 and 32 pixels. When Haiku wanted icons that scale, the project passed on SVG and Stephan Aßmus designed a format of his own in 2006: shapes, paths and gradients packed tightly enough that a typical icon weighs a few hundred bytes, often less than a single small PNG. The icon isn't a separate file but an attribute stored directly on the application or document, redrawn at whatever size the desktop happens to want.

Icons are drawn in Icon-O-Matic, Haiku's own editor, which imports SVG but saves HVIF. The price of compactness is that almost nothing else reads the format — one of the purer examples of Haiku preferring to do things properly for itself rather than compatibly for everyone.

← Back to the lexicon