generate images in parallel