[Wine] wine image resizing (anti-alias)

Martin Gregorie martin at gregorie.org
Wed Feb 24 13:38:16 CST 2010


On Wed, 2010-02-24 at 11:48 -0600, artheus wrote:

> But my problem is that Images, when they are resized in Wine
> applications they won't get resized smoothly, the images gets pixly
> and does not look good at all.. Good example of this is Spotify.
> 
I take it you're starting with an image at its natural (1:1) size and
trying to enlarge it? If so that's expected: if you double its size each
pixel in the image now occupies 4 pixels (a 2x2 block) and this gets
noticeable. You can get odd effects by reducing a picture too, though
generally reducing its size more or less works because this combines
pixels by averaging them. 

The only programs that can do this well are those like GIMP, Photoshop
or most web browsers which rescan the image and transform it into a new
set of pixels. Even they pixellate if you blow a picture up much past
its natural size, but usually can do a decent job of making it smaller. 

Bottom line: rescaling an image is a non-trivial exercise and its one
that a lot of programs don't do well. This is especially true if you're
adjusting the image size by altering the screen resolution and the
program is one that was never designed or written to rescale images.


Martin





More information about the wine-users mailing list