Not entirely sure what you're after but you could try playing around with this??
// ==PREPROCESSOR==
// @name "Album Art"
// @author "marc2003"
// @import "%fb2k_component_path%samples\complete\js\lodash.min.js"
// @import "%fb2k_component_path%samples\complete\js\helpers.js"
// @import "%fb2k_component_path%samples\complete\js\panel.js"
// @import "%fb2k_component_path%samples\complete\js\albumart.js"
// ==/PREPROCESSOR==
//////////////////////////////////////////////////
// edit these
var border = 100;
var blur_radius = 150;
//////////////////////////////////////////////////
var panel = new _.panel('custom_background');
var albumart = new _.albumart(0, 0, 0, 0);
albumart.blur_img = null;
panel.item_focus_change();
function on_size() {
panel.size();
albumart.x = albumart.y = border;
albumart.w = panel.w - (border * 2);
albumart.h = panel.h - (border * 2);
}
function on_paint(gr) {
panel.paint(gr);
if (albumart.blur_img) {
_.drawImage(gr, albumart.blur_img, 0, 0, panel.w, panel.h, image.crop);
}
albumart.paint(gr);
}
function on_playback_dynamic_info_track(type) {
if (type == 1) panel.item_focus_change();
}
function on_metadb_changed() {
_.dispose(albumart.blur_img);
albumart.blur_img = null;
albumart.metadb_changed();
if (albumart.img) {
albumart.blur_img = albumart.img.Clone(0, 0, albumart.img.Width, albumart.img.Height);
albumart.blur_img.StackBlur(blur_radius);
}
window.Repaint();
}
function on_mouse_wheel(s) {
albumart.wheel(s);
}
function on_mouse_move(x, y) {
albumart.move(x, y);
}
function on_mouse_lbtn_dblclk(x, y) {
albumart.lbtn_dblclk(x, y);
}
function on_mouse_rbtn_up(x, y) {
return panel.rbtn_up(x, y, albumart);
}
function on_key_down(k) {
albumart.key_down(k);
}