# File lib/pdf/reader/filter.rb, line 42 def initialize (name, options = nil) @options = options case name.to_sym when :ASCII85Decode then @filter = :ascii85 when :ASCIIHexDecode then @filter = :asciihex when :CCITTFaxDecode then @filter = nil when :DCTDecode then @filter = nil when :FlateDecode then @filter = :flate when :JBIG2Decode then @filter = nil else raise UnsupportedFeatureError, "Unknown filter: #{name}" end end