Split pdf according to results bytes sizes #2205
-
What is the fastest way to split pdf to several documents with size < X? Is there a way to get approx bytes size of each document page? I know that there can be repeating images or fonts, so maybe there is a way for accumulative size getting? For example: 1st page = 50 bytes 3rd page = 40 bytes |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
This is unpredictable. There are even more cases than you would believe, where splitting a PDF into its The PDF sub-document is created (and must be so created) by including all xrefs that are referenced by some page of the chosen subset. So if evry page refers to some central object, which in turn refers to other pages, then those other pages (and their referrals) will become part of the current one-page subset, too. |
Beta Was this translation helpful? Give feedback.
This is unpredictable. There are even more cases than you would believe, where splitting a PDF into its
n
single pages deliversn
one-page PDFs which have each the same size as the original!The PDF sub-document is created (and must be so created) by including all xrefs that are referenced by some page of the chosen subset. So if evry page refers to some central object, which in turn refers to other pages, then those other pages (and their referrals) will become part of the current one-page subset, too.
Crazy - but it happens!