Get the latest tech news

500 Byte Images: The Haiku Vector Icon Format (2016)


vector image format to store icons. This is surprising both because most OSes consider bitmaps to be totally sufficient to represent icons and because there are plenty of vector graphics formats out this (e.g.

One kilobyte is a pretty small amount of memory on modern hard drives, or even in RAM, and it’s not like there are millions (or even tens of thousands) of icons in one operating system. Unfortunately, this post didn’t include enough details to satisfy my curiosity, so I used the parser’s source code and a sample HVIF file (in a hex editor) to learn more. This tells us that this is: a flat color, not a gradient; a gray, meaning that the red, green, and blue channels are all equal; and completely opaque, so the alpha value will be 255.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of byte

byte

Photo of byte images

byte images

Related news:

News photo

A 23-byte "hello, world" program assembled with DEBUG.EXE in MS-DOS