/ for oi in zip(out_img sizein_img sizefor in range(num_tiles[ ])for in range(num_tiles[ ])out_img pastein_imgin_img size[ xin_img size[ yin_img size[ ( + )in_img size[ ( + return out_img class centeredstrategydef make_background(selfimg_filedesktop_size)in_img image open(img_fileout_img image new('rgb'desktop_sizeleft (out_img size[ in_img size[ ]/ top (out_img size[ in_img size[ ]/ out_img pastein_imglefttopleft+in_img size[ ]top in_img size[ return out_img class scaledstrategydef make_background(selfimg_filedesktop_size)in_img image open(img_fileout_img in_img resize(desktop_sizereturn out_img