Skip to content

IIIF Print Jobs

LaRita Robinson edited this page Mar 17, 2023 · 10 revisions

Split PDFs into child works

PDF splitting is configured via IiifPrint.model_configuration on each work model. The child work model is set to use the parent's model by using self.

  include IiifPrint.model_configuration(
    pdf_split_child_model: self
  )

One PDF splitter job is defined. If needed, this may be overridden by creating a new splitter job and specifying it in the model's IiifPrint.model_configuration.

Three PDF splitter services are available. Splitting to jpg is default, but may be overridden to png or tiff in each model's IiifPrint.model_configuration.

IIIF Print leverages Hyrax::BatchCreateJob for splitting a PDF into child works, and works for both UI-based uploads as well as Bulkrax imports.

Split PDF job (1)

Clone this wiki locally