implementation of the LZW stream filter
# File lib/pdf/reader/filter/lzw.rb, line 6 def initialize(options = {}) @options = options end
Decode the specified data with the LZW compression algorithm
# File lib/pdf/reader/filter/lzw.rb, line 12 def filter(data) data = PDF::Reader::LZW.decode(data) Depredict.new(@options).filter(data) end