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

Merge 2 files ontop of each other ... #19

Closed
boustanihani opened this issue Jan 3, 2014 · 2 comments
Closed

Merge 2 files ontop of each other ... #19

boustanihani opened this issue Jan 3, 2014 · 2 comments

Comments

@boustanihani
Copy link

Hi guys,

could anyone please tell me how to merge two PDF files into one ?? I mean merge ontop of each other and not by appending. For example, one of the files contains the template and the other contains the content: Template.pdf (1 page) + Content.pdf (1 page) => Output.pdf (1 page)

I took a look at https://github.com/galkahana/HummusJS/blob/master/tests/MergePDFPages.js but was not able to figure this out :(

regards
Hani

@galkahana
Copy link
Owner

you can call mergePDFPagesToPage twice. first with template.pdf and then with content.pdf. should get you there.

@boustanihani
Copy link
Author

thanks for the tip gal :)

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

2 participants