compresses background image