Optimizing backgorund images.