Module: Origami::Filter

Included in:
ASCII85, ASCIIHex, CCITTFax, DCT, Flate, JBIG2, JPX, LZW, RunLength
Defined in:
lib/origami/filters.rb,
lib/origami/filters/dct.rb,
lib/origami/filters/jpx.rb,
lib/origami/filters/lzw.rb,
lib/origami/filters/ascii.rb,
lib/origami/filters/ccitt.rb,
lib/origami/filters/crypt.rb,
lib/origami/filters/flate.rb,
lib/origami/filters/jbig2.rb,
lib/origami/filters/runlength.rb,
lib/origami/filters/predictors.rb,
lib/origami/filters/ccitt/tables.rb

Overview

Filters are algorithms used to encode data into a PDF Stream.

Defined Under Namespace

Modules: ClassMethods, Crypt, Predictor, Utils Classes: ASCII85, ASCIIHex, CCITTFax, CCITTFaxFilterError, DCT, DecodeError, Error, Flate, InvalidASCII85StringError, InvalidASCIIHexStringError, InvalidCCITTFaxDataError, InvalidFlateDataError, InvalidLZWDataError, InvalidRunLengthDataError, JBIG2, JPX, LZW, NotImplementedError, PredictorError, RunLength

Constant Summary collapse

AHx =
ASCIIHex
A85 =
ASCII85
CCF =
CCITTFax
Fl =
Flate
RL =
RunLength

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(receiver) ⇒ Object



359
360
361
# File 'lib/origami/filters.rb', line 359

def self.included(receiver)
    receiver.extend(ClassMethods)
end

Instance Method Details

#initialize(parameters = {}) ⇒ Object



355
356
357
# File 'lib/origami/filters.rb', line 355

def initialize(parameters = {})
    @params = parameters
end