Skip to content
New issue

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

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

Already on GitHub? # to your account

[Request] Example of PDF Split #253

Open
WCarrollSTO opened this issue Dec 18, 2023 · 2 comments
Open

[Request] Example of PDF Split #253

WCarrollSTO opened this issue Dec 18, 2023 · 2 comments

Comments

@WCarrollSTO
Copy link

Hello, thank you for the library! It has been quite useful for merging PDFs.

I was wondering if we could please have an example of splitting PDF Pages into individual Documents. I've tried writing my own, going by the "Merge" example, but I have had no luck.

@Christof23
Copy link

Christof23 commented Feb 12, 2024

If you mean going page by page, I've been using doc.delete_pages([1,2,4,5]) to return each page in turn by removing all others.

@nb-midwestern
Copy link

I need to do this as well, but I need to split specific sections of a page into a new page, so one page could end up being several pages

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

No branches or pull requests

3 participants