Convert background to jpeg.