Skip to content

Document select keeps the pdf with the same size. #884

Answered by JorjMcKie
caiocesarrm asked this question in Q&A
Discussion options

You must be logged in to vote

Found the reason for this unexspected size behaviour:
The page contains a /B entry

B array (Optional; PDF 1.1; recommended if the page contains article beads) An ar-
ray of indirect references to article beads appearing on the page (see Sec-
tion 8.3.2, “Articles”; see also implementation note 37 in Appendix H).
The beads are listed in the array in natural reading order.

In this case it references annotations, which in turn reference other pages, and yet other pages, etc.
Result: the full PDF is still there - only the page pointers have been reduced to that one page.

So you have the option 3 from previous post - which gives you below 70 KB PDF size.
OR with functions new in v1.18.7, you …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by JorjMcKie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #880 on February 04, 2021 14:42.