Whoops, should have read more deeply before posting ^^ I've been disconnected for the two last months and many things happened since ! I only learnt about the new single_columns_playlist yesterday and start fiddling with it, that's really awesome.
Edit:
... and now, another problem with $imageabs2. I am trying to add a subtle shade to the group title, this is how I intend to do it :
1) paint the whole layer blue, red, green, whatever
2) add a semi-transparent PNG layer, consisting of a 1px-wide gradient from transparent black to transparent white, stretched along the whole group.
So here's the code I use :
CODE
$puts(groupcolor,30-69-197)
$puts(profile,c:\profils\rheuh\application data\foobar2000\)
$puts(groupgradient,intf\groupbg.png)
$drawrect(0,0,0,0,brushcolor-$get(groupcolor) pencolor-null)
$imageabs2(%_width%,64,,,,,,,$get(profile)$get(groupgradient),)
But it won't work. I tried :
$imageabs2(1,64,,,,,,,...) ==> OK, 1px wide at top-left corner
$imageabs2(2,64,,,,,,,...) ==> KO, still 1px wide at top-left corner even if I specify 2px
$imageabs2(3,64,,,,,,,...) ==> KO, nothing is displayed when 1st variable is > 2
I also tried specifying the original gradient's size with $imageabs2(%_width%,64,,,1,64,,,$get(...),) and it still doesn't work.
That's confusing, because resizing works great with covers :
CODE
$puts(art.cover,$replace(%path%,%filename_ext%,front.jpg))
$puts(art.frame,intf\frontframe.png)
$puts(art.nocover,intf\nocover.png)
$imageabs(12,9,$get(art.nocover),)
$imageabs2(64,64,,,,,12,9,$get(art.cover),)
$imageabs(8,8,$get(art.frame),)
I noticed that stretching is only proportionnal for the covers : if the CD cover is, say, 1000x500px (front and inside, unfolded), then the thumbnail's size will be 64x32 instead of 64x64 as I specified (but the 64x32 image will be centered in the 64x64 frame).
Is $imageabs2() weird, or is my formatting string wrong ?