World Library  
Flag as Inappropriate
Email this Article

Haiku Vector Icon Format

Article Id: WHEBN0030292538
Reproduction Date:

Title: Haiku Vector Icon Format  
Author: World Heritage Encyclopedia
Language: English
Subject: Haiku (operating system), IGES, Vector Markup Language, Scalable Vector Graphics, History of Haiku (operating system)
Collection: Computer File Formats, Graphics File Formats, Haiku (Operating System), Open Formats
Publisher: World Heritage Encyclopedia

Haiku Vector Icon Format

Haiku Vector Icon Format
Filename extension none
Magic number ncif
Developed by Haiku Project
Initial release July 2006 (2006-07)[1]
Type of format vector image format
Open format? Yes

Haiku Vector Icon Format (HVIF) is a vector storage format designed to store icons, specifically for Haiku.


  • History 1
  • Features 2
  • See also 3
  • References 4
  • External links 5


Haiku developers commonly agreed that Haiku could not be released with original BeOS R5 icons. Since Haiku needed its own artwork anyway, it was thought that icons could switch to vectors graphics from traditional BeOS bitmaps. In July 2006 Haiku developer Stephan Aßmus introduced Icon-O-Matic, the icon editor of Haiku, and a storage format with a rendering engine based on Anti-Grain Geometry.[1]

After a few days of discussion, Aßmus announced a contest to determine an icon theme for Haiku. He stated that there was no guideline that had to be followed and suggested 1 September as deadline.[2] 16 icon sets were rated in the contest, and Aßmus' icon set "Stippi" received the award. In early November it was also announced that Stephan Aßmus implemented vector icons in OpenTracker.[3]

HVIF icons of Stippi set are used in current Haiku releases and builds.


Haiku kernel icon in Haiku's icon editor Icon-O-Matic

Aimed at fast rendering and small file sizes, HVIF brings the following approaches:

  • Icons have a native size of 64×64 pixels[4]
  • Integer coordinates from −32 to +95 and an eighth bit to indicate non-integer coordinates are used to reduce the size.[4]
  • There are three basic path types: path with commands, path with straight lines only and path with curves only.[4]
  • There are four different path commands introduced for icon creating: horizontal line, vertical line, line, and cubic curve.[4]
  • Since a great precision is not needed, it uses its own floating point format for storing transformation matrices, resulting a matrix size of 18 bytes, which is considerably smaller than the transformation matrix size of 24 or 48 bytes in other formats.[4]
  • There are two types of style: plain color and gradient.[4]
  • Flags are used to specify what aspects of the objects should be stored in the file, so that unused sections don't take up space.[4]
  • HVIF data consists of three sections: The first one encodes styles, the second the paths and the third the shapes.[4]
  • Styles and paths are global to an icon with a maximum number of 256 for each, so that they can be reused by different shapes by referring to them with one byte.[4]
  • The icons have an average size of 500–700 bytes, which is smaller than commonly used bitmap or vector graphics icons.[5]
  • Because of their small size, icons can be stored within inode of files. Therefore the name, the size, the date and the icon of a file can be read by Tracker within a single disk operation.[5]
  • Unlike other vector graphics formats, the icons are rendered in a single pass except for some cases like transparency,[6] causing no visible seams between shapes.[5]

See also


  1. ^ a b
  2. ^
  3. ^
  4. ^ a b c d e f g h i
  5. ^ a b c
  6. ^

External links

  • Haiku Icons by zuMi
  • Haiku icons in Haiku source repository
  • Icon-O-Matic article in Haiku user guide
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.