Bug 49735 - Only one resource dictionary for the whole document causes trouble splitting a PDF
Summary: Only one resource dictionary for the whole document causes trouble splitting ...
Status: NEW
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: pdf (show other bugs)
Version: 1.0
Hardware: All All
: P3 enhancement
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-10 09:48 UTC by Jeremias Maerki
Modified: 2012-04-07 19:22 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremias Maerki 2010-08-10 09:48:53 UTC
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.
Comment 1 Glenn Adams 2012-04-07 01:44:54 UTC
resetting P2 open bugs to P3 pending further review