Comments (11)
@bn3t @edulix actually I did this.
I created a PR #117 with all necessary code.
Once @J-F-Liu will merge it, you'll able to this with this Rust library.
from lopdf.
There are many objects related to pages, in Resources. To merge 2 pdf files, merge all the objects, then rearrange trailer, Catalog and Pages objects.
from lopdf.
Hi i'm interested in this did you achieve @bn3t ?
from lopdf.
Hi @yodatak, no I didn't make any progress on this. In the meanwhile, I still use a small tool I've wrttten in Go with Unidoc : pdfmerge
from lopdf.
@J-F-Liu is this easy to do? can you provide some tips or some sample code?
from lopdf.
I use pdfunite to do the job.
from lopdf.
I meant if it is easy to do with lopdf
library, although thanks for the recommendation.
from lopdf.
It is possible, but need to sort out a detailed algorithm.
from lopdf.
It seemed far fetched for me to do it with lopdf. I still use the tool I wrote in go and does exactly what I needed: https://github.com/bn3t/pdfmerge.
from lopdf.
Can this issue be closed now? There is an example for merging PDFs in the docs now.
from lopdf.
Yes thanks a lot.
from lopdf.
Related Issues (20)
- [Question] How can I replace an image?
- Some Pdf Parse Outline Failed HOT 2
- Add the merging PDFs together example as a crate function HOT 3
- Crash in `document.extract_text` HOT 2
- Support Korean Font
- How to extract images from a PDF?
- How to read operations correctly? HOT 1
- Is there any more docs or help available? HOT 2
- the `linked-hash-map` crate is in maintenance mode HOT 2
- Unexpected behavior using vowels with acute accent and Arabic text HOT 1
- 如何压缩pdf里面的图片 how to compress pdf images HOT 1
- Release a new version to crates.io HOT 1
- (Suggestion) replace panics with errors HOT 1
- Timeout (100 second) when trying to read and save file HOT 2
- Panic when opening pdf file
- Stack overflow when reading file
- Issue while reading specific pdf files
- `extract_text` inserts newlines where it shouldn't HOT 1
- Deprecate/remove pom_parser in favor of nom_parser HOT 2
- Panic `ObjectNotFound` in `src/document.rs:446:83`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lopdf.