From b79128d766e6c9721bca3abcee84952aecac9cac Mon Sep 17 00:00:00 2001 From: Masterchef365 Date: Mon, 12 Aug 2019 15:59:44 -0700 Subject: [PATCH] Add Deflate and OldDeflate compression type recognition --- src/decoder/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/decoder/mod.rs b/src/decoder/mod.rs index dd1ad32..dcda365 100644 --- a/src/decoder/mod.rs +++ b/src/decoder/mod.rs @@ -100,6 +100,8 @@ pub enum CompressionMethod { Fax4 = 4, LZW = 5, JPEG = 6, + Deflate = 8, + OldDeflate = 0x80B2, PackBits = 0x8005, }