Module: Pdfrb::Task::Optimize

Defined in:
lib/pdfrb/task/optimize.rb

Overview

Placeholder for the optimise task. Real implementation needs TODO 31 (object-stream packing) + dedup hash + xref-stream conversion. For now: no-op pass-through so the CLI can wire without raising.

Class Method Summary collapse

Class Method Details

.call(document, **_opts) ⇒ Object



12
13
14
15
# File 'lib/pdfrb/task/optimize.rb', line 12

def call(document, **_opts)
  # TODO: dedup, pack into ObjStm, switch to xref stream.
  document
end