Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to 'CreateFormXObjectFromPDFPage' without making resource copy when modify PDF ? #161

Open
ArcRain opened this issue Jul 18, 2019 · 0 comments

Comments

@ArcRain
Copy link

ArcRain commented Jul 18, 2019

I want to make a page thumbnail and place it in a rectangle at last page in same pdf file.
So I use 'ModifyPDF', 'CreatePDFCopyingContextForModifiedFile', 'CreateFormXObjectFromPDFPage' to solve it.
But I found the file size is almost double size than original.
I think it maybe the page resource copy make it. Because the page include some image object.
Then it's copied when I using 'CreateFormXObjectFromPDFPage'.
How can I resolve it? Is it possible to reference it without copying?

P.S: Thanks for your great project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant