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

  • From: John Scipione <jscipione@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 11 Jan 2011 21:01:49 -0500

On Tue, Jan 11, 2011 at 9:27 AM, Stephan Aßmus <superstippi@xxxxxx> wrote:

> Am 11.01.2011 15:07, schrieb Angel Popov:
>
>  On 11.1.2011 г. 09:30 ч., Stephan Aßmus wrote:
>>
>>> Do you have some screenshots of original and hqx upscaled bitmaps?
>>>
>> Some hqx samples and info:
>> http://web.archive.org/web/20070624082212/www.hiend3d.com/hq2x.html
>> http://web.archive.org/web/20070703061942/www.hiend3d.com/hq3x.html (has
>> explanation of the algorithm at the bottom)
>> http://web.archive.org/web/20070717064839/www.hiend3d.com/hq4x.html
>>
>>  From the page you linked, it sounds like it only supports exact
>>> scaling factors of 2x, 3x and 4x. Which would be a bummer (having to
>>> fall back to other algorithms for other scales). But maybe it could
>>> improve the common case a lot.
>>>
>> If you combine them you can also get 6x, 8x, 9x...
>> And then downsample if needed - the quality will still be better than
>> bilinear
>>
>
> Indeed. Thanks for the cool links! Using that algorithm for displaying old
> BeOS icons would be pretty l33t.
>
> Best regards,
> -Stephan
>
>
>
I managed to create Jam files for the hqx library files and get them
running, next task will be to try and integrate it with my program to do
BeOS icon scaling, hopefully the results will look dramatically better, I
have tested only on regular bmp's I downloaded off the Internet, now I need
to test with BeOS icons.

Other related posts: