Changing an Icon - Howto

Forum thread started by el.tigre.20 on Fri, 2012-06-22 16:58

Hello,

Can anyone, tell me how I can change the icon of any program/file on Haiku to an image (.ico, .png etc) of my choice?

Thanks so much!

Comments

Re: Changing an Icon - Howto

I can help you with this, but first, some background information:

Haiku icons are normally something called HVIF icons. HVIF stands for Haiku Vector Icon Format, and as the name suggests it is a vector format, not a bitmap format (like ico or png.) Here is an old article about HVIF:

https://www.haiku-os.org/tags/hvif

Haiku also supports bitmap icons, because BeOS had bitmap icons, but the maximum size for the old BeOS style icons is 32x32, which is quite small these days. HVIF icons are generally designed for a maximum of 64x64, but because they are vector icons they can be scaled up quite a bit. But there is a limit to the detail they can show. Right now on Haiku you cannot have the insane 512x512 super high resolution png icons like on Mac OS X or Windows. We, the Haiku developers, like HVIF quite a bit (it is pretty much completely unique in operating systems), so support for Mac-style png icons is not a high priority.

Anyhow, the reason I am saying this is that if you want to change out icons in Haiku, it will generally be easiest using HVIF icons. You can get other HVIF icons from various places, such as Haikuware, or zumi's icon page (he has made quite a few of the icons used in Haiku.) Or you can make your own icons using Icon-O-Matic, which I have done, and it is pretty fun. Since I know you have done some design work before for Haiku (like the login screen mock-ups), you might also enjoy making Haiku icons.

Once you have a new icon, you can use the FileTypes preference application to change out the icons for applications and also for document types (I think.) If you right click on an app