compress jpg and remove repeart bg-color