From 8d926b1ce988ec45f0cc70ba79bcc583ab9b5c88 Mon Sep 17 00:00:00 2001 From: Si Sutcliffe Date: Tue, 2 Jun 2020 21:59:00 +1200 Subject: [PATCH] Support JPXDecode as passthru --- lib/pdf/core/filters.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/pdf/core/filters.rb b/lib/pdf/core/filters.rb index 6ac02c8..42f7050 100644 --- a/lib/pdf/core/filters.rb +++ b/lib/pdf/core/filters.rb @@ -31,6 +31,16 @@ def self.decode(stream, _params = nil) stream end end + + module JPXDecode + def self.encode(stream, params = nil) + stream + end + + def self.decode(stream, params = nil) + stream + end + end end end end