Old 3rd April 2007, 12:18   #1
fabiwan
Junior Member
 
Join Date: Mar 2007
Location: joyeuse - france
Posts: 23
albumart resizing quality

hello,

The quality of resized albumart is quite ugly.
And nobody wants to resize all its pictures in order to have the right and nice size.

Is there any parameter that sets the resizing quality of images with a kind of antialiasing?
fabiwan is offline   Reply With Quote
Old 3rd April 2007, 13:21   #2
NickMikh
Member
 
NickMikh's Avatar
 
Join Date: Mar 2006
Location: Russia
Posts: 90
Send a message via ICQ to NickMikh Send a message via Yahoo to NickMikh
I don't know of such a parameter (there is probably no such a thing). But if you want to code the skin, that resizes smoothly, you may use layerfx functions in maki scripts.

the script should look something like that:
code:

Global layer CoverArtLayer;

OnScriptLoaded()
{
CoverArtLayer = System.getscriptGroup().GetObject("id");
CoverArtLayer.fx_setGridSize(1,1);
CoverArtLayer.fx_setBgFx(0);
CoverArtLayer.fx_setWrap(0);
CoverArtLayer.fx_setBilinear(1);
CoverArtLayer.fx_setRect(0);
CoverArtLayer.fx_setClear(0);
CoverArtLayer.fx_setLocalized(1);
CoverArtLayer.fx_setRealtime(1);
CoverArtLayer.fx_setEnabled(1);
}

NickMikh is offline   Reply With Quote
Old 3rd April 2007, 13:26   #3
SLoB
Major Dude
 
SLoB's Avatar
 
Join Date: Jul 2003
Location: UK
Posts: 1,316
depends on the source size/quality imo, if for example you get the larger cover say from amazon then the quality will obviously be better than the default medium or small when resized
the layerfx isnt going to help that much with bilinear setting if stretching a small image compared to a large image
SLoB is offline   Reply With Quote
Old 3rd April 2007, 16:35   #4
fabiwan
Junior Member
 
Join Date: Mar 2007
Location: joyeuse - france
Posts: 23
On the skin I use, the albumart is 100/100 so it never has to be stretched.

I've tried the layer_fx, it works quite well for the 2 first covers, but then it just does some weird visuals, sometimes wrong cover with half a picture and half another.

Not a success so far...

Last edited by fabiwan; 3rd April 2007 at 19:24.
fabiwan is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Skinning and Design > Modern Skins

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump