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
Comments
Hi!
Interesting use case involving
a lot of content stream manipulation.
Definitely doable but unfortunately I am still scratching the surface with
the PDF content syntax.
Something like that gets complex quickly eg. what kind of output do you
expect if the pages you want to concatenate have different page dimensions?
…On Tue, Nov 13, 2018, 15:28 Joeky Zhan ***@***.*** wrote:
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 <https://en.wikipedia.org/wiki/N-up>) but it is
not actively maintained for years,
also pdfjam is difficult to install on Windows system.
Any ideas? thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#51>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKzDK23z0XiYIm18heNgfxKfvhHTRjW9ks5uutcqgaJpZM4YbxMd>
.
|
Well, I never thought about that before, I guess just output some errors to the user instead of brute-force concatenating? |
I do understand the n-Up approach. |
Yes. Vertically 10-up makes it a long single page pdf file. |
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. |
That's correct! |
Fixed in v0.1.21 |
Cool! |
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
cando 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!
The text was updated successfully, but these errors were encountered: