Class: Origami::Filter::JBIG2

Inherits:
Object
  • Object
show all
Includes:
Origami::Filter
Defined in:
lib/origami/filters/jbig2.rb

Overview

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

Defined Under Namespace

Classes: DecodeParms

Instance Method Summary collapse

Constructor Details

#initialize(parameters = {}) ⇒ JBIG2

Returns a new instance of JBIG2.



42
43
44
# File 'lib/origami/filters/jbig2.rb', line 42

def initialize(parameters = {})
  super(DecodeParms.new(parameters))
end

Instance Method Details

#decode(stream) ⇒ Object

Not supported.

Raises:

  • (NotImplementedError)


56
57
58
# File 'lib/origami/filters/jbig2.rb', line 56

def decode(stream)
  raise NotImplementedError, "#{self.class} is not yet supported"
end

#encode(stream) ⇒ Object

Not supported.

Raises:

  • (NotImplementedError)


49
50
51
# File 'lib/origami/filters/jbig2.rb', line 49

def encode(stream)
  raise NotImplementedError, "#{self.class} is not yet supported"
end