abstracting table to support compressed images