Trim bg image.