Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-1832

Only one resource dictionary for the whole document causes trouble splitting a PDF

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Resolution: Unresolved
    • 1.0
    • None
    • renderer/pdf
    • None
    • Operating System: All
      Platform: All
    • 49735

    Description

      A PDF with lots of images may cause problems when it is split into many smaller PDFs. FOP puts all resources (ex. XObjects) in one Resources object that is reused for all pages. Many PDF splitters (ex. PDFTK and PDFBox) don't analyze the content streams and therefore just copy the Resources dictionary which causes all images to be replicated to all split PDFs. Essentially each split PDFs is then about the same size as the original.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jeremias@apache.org Jeremias Maerki
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: