class Origami::Filter::JBIG2

Class representing a Filter used to encode and decode data with JBIG2 compression algorithm.

Public Class Methods

new(parameters = {}) click to toggle source
Calls superclass method Origami::Filter::new
# File lib/origami/filters/jbig2.rb, line 37
def initialize(parameters = {})
    super(DecodeParms.new(parameters))
end

Public Instance Methods

decode(stream) click to toggle source

Not supported.

# File lib/origami/filters/jbig2.rb, line 51
def decode(stream)
    raise NotImplementedError.new("#{self.class} is not yet supported", input_data: stream)
end
encode(stream) click to toggle source

Not supported.

# File lib/origami/filters/jbig2.rb, line 44
def encode(stream)
    raise NotImplementedError.new("#{self.class} is not yet supported", input_data: stream)
end