Class: Origami::Filter::JBIG2
- Inherits:
-
Object
- Object
- Origami::Filter::JBIG2
- 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
Constant Summary
Constants included from Origami::Filter
Instance Method Summary collapse
-
#decode(stream) ⇒ Object
Not supported.
-
#encode(stream) ⇒ Object
Not supported.
-
#initialize(parameters = {}) ⇒ JBIG2
constructor
A new instance of JBIG2.
Methods included from Origami::Filter
Constructor Details
#initialize(parameters = {}) ⇒ JBIG2
Returns a new instance of JBIG2.
37 38 39 |
# File 'lib/origami/filters/jbig2.rb', line 37 def initialize(parameters = {}) super(DecodeParms.new(parameters)) end |
Instance Method Details
#decode(stream) ⇒ Object
Not supported.
51 52 53 |
# 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) ⇒ Object
Not supported.
44 45 46 |
# File 'lib/origami/filters/jbig2.rb', line 44 def encode(stream) raise NotImplementedError.new("#{self.class} is not yet supported", input_data: stream) end |