LZW compression. Please note todos in warnings