[haiku-development] Re: Tracker old BeOS icon resizing

  • From: John Scipione <jscipione@xxxxxxxxx>
  • To: "haiku-development@xxxxxxxxxxxxx" <haiku-development@xxxxxxxxxxxxx>
  • Date: Tue, 11 Jan 2011 00:45:13 -0500


I am working on doing some icon resizing work and while the new hvif Haiku icons are trivial to resize old BeOS icons look ugly when upsized. I began investigating using hqx to upsize the icons when I realized that the tracker must upsize BeOS icons! And in fact it does. Can somebody knowledgable in this area stippi? point me to where in the tracker source this is happening? Thanks.

John Scipione

Sorry to reply to my own post but some good news and bad news.

The bad news is that on further investigation I found that Tracker is actually doing no BeOS icon upsizing, it is just scaling the 32x32 pixel B_LARGE_ICON where I was scaling the 16x16 B_MINI_ICON.

The good news is that by utiling the LGPL licensed hqx algorithm (http://code.google.com/p/hqx/ ) I could theoretically get nice looking BeOS icons as large as 128x128!

Worth it? LGPL a problem?

Oh well sorry to bother everyone.

Other related posts: