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
Instance Method Summary collapse
-
#decode(stream) ⇒ Object
Not supported.
-
#encode(stream) ⇒ Object
Not supported.
-
#initialize(parameters = {}) ⇒ JBIG2
constructor
A new instance of JBIG2.
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.
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.
49 50 51 |
# File 'lib/origami/filters/jbig2.rb', line 49 def encode(stream) raise NotImplementedError, "#{self.class} is not yet supported" end |