Linked by Thom Holwerda on Tue 14th Nov 2006 19:07 UTC, submitted by koki
BeOS & Derivatives The Haiku Project recently introduced a new and more efficient scalable vector-based icon format, the Haiku Vector Icon Format, or HVIF for short. HVIF uses a special vector storage format specifically designed to store icons that is so efficient, that icons in Haiku take a meager 500 - 700 bytes on average. Following the introduction of this new icon format, the Haiku developer behind this new icon format, Stephan Assmus (Stippi), has published two articles, one introducing some interesting facts about HVIF, and another giving some details of why Haiku vector icons are so small.
Permalink for comment 182294
To read all comments associated with this story, please click here.
RE: Is it really worth it?
by Ronald Vos on Tue 14th Nov 2006 20:58 UTC in reply to "Is it really worth it?"
Ronald Vos
Member since:
2005-07-06

I just ask myself wether it is really worth it to define a completely new format.

Yes. Just read the article behind the second link.
Reason 1: they're now so small they can be stored next to the inode, which means instead of seeking the inode, then seeking the place where the file is stored then read, it's just a seek of the inode+read. That will matter in terms of loading speed when the icons of a lot of icons need to be loaded at the same time.
Reason 2: instead of normal SVG icons, these can be rendered in a single pass instead of multiple, saving CPU cycles, thus enhancing desktop responsiveness.

The only reasons against it, would seem to be the extra effort involved in implementing it (and apparently it was simple), and inter-operability. The latter which seems like a non-issue, since we're talking about custom Haiku-icons, and Haiku supports other formats as well

Reply Parent Score: 1