Optimize background image.