[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: [OT] Any plans to keep up with longhorn?
From:       Joachim Eibl <joachim.eibl () gmx ! de>
Date:       2003-11-08 13:28:36
[Download RAW message or body]

On Saturday 08 November 2003 12:20, Tim Jansen wrote:
> This depends on the image. If you scale a photo,  blurring will probably
> look more natural. For structured, painted graphics scale2x and friends are
> better.

I agree: For photos most people probably prefer the blur.

But thanks to Datschge for pointing out those links.
I've made a little test with these too, just to see how the test-icon will 
look like.

From left to right:
Orig: 16x16
QImage::scale(): 64x64
QImage::smoothScale()
My smoothResize() (bilinear filter)
My smootherResize() (more complicated and time consuming)
scale4x (from http://scale2x.sourceforge.net/)
hq4x (from http://www.hiend3d.com/hq4x.html)

The scale4x-algorithm checks which neighbouring pixels have the same color, 
which is not good for images with many different shades.

The hq4x-algorithm applies a threshold to tell if two colors are approximately 
the same. This looks much better.

IMHO neither of these two looks nice for photos. (But the perfect picture 
viewer would give the user the choice and support several filter algorithms.)

Cheers,
Joachim
["scaletest3.png" (image/png)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic