process images in the background