Navigation Menu

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

N-up #51

Closed
joeky888 opened this issue Nov 13, 2018 · 8 comments
Closed

N-up #51

joeky888 opened this issue Nov 13, 2018 · 8 comments
Assignees

Comments

@joeky888
Copy link

A pdf file file.pdf contains 10 pages,

I would like to merge these 10 pages into a long single page pdf file file2.pdf

It is useful when backing up a webpage or excel files.

As far as I know there is only one tool called pdfjam can

do this (by using N-up) but it is not actively maintained for years,

also pdfjam is difficult to install on Windows system.

Any ideas? thanks!

@hhrutter
Copy link
Collaborator

hhrutter commented Nov 13, 2018 via email

@joeky888
Copy link
Author

what kind of output do you
expect if the pages you want to concatenate have different page dimensions?

Well, I never thought about that before,

I guess just output some errors to the user instead of brute-force concatenating?

@hhrutter
Copy link
Collaborator

I do understand the n-Up approach.
eg. using 4-up your 10 pages would end up on 3 pages.
Is this what you are looking for?
Or do you want to turn the 10 pages into one page that has all original pages stacked on top of each other?

@joeky888
Copy link
Author

joeky888 commented Dec 11, 2018

Is this what you are looking for?

Yes.

Vertically 10-up makes it a long single page pdf file.

@hhrutter hhrutter self-assigned this Dec 11, 2018
@hhrutter hhrutter changed the title Multiple pages pdf to one long page pdf (N-up) N-up Dec 11, 2018
@plaisted
Copy link

Hi! Interesting use case involving a lot of content stream manipulation.

Ideally you wouldn't have to touch the content streams. Each page would be added to the new N-Up page as an XObject form with the same content stream. The new N-Up content stream would just be positioning the forms correctly. I've never done this so maybe missing something.

@hhrutter
Copy link
Collaborator

That's correct!
That's actually what I am preparing for the next release.

@hhrutter
Copy link
Collaborator

Fixed in v0.1.21

@joeky888
Copy link
Author

Cool!

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

No branches or pull requests

3 participants