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

Split pages: save pages to memory #1130

Open
jberkenbilt opened this issue Jan 18, 2024 Discussed in #1129 · 0 comments
Open

Split pages: save pages to memory #1130

jberkenbilt opened this issue Jan 18, 2024 Discussed in #1129 · 0 comments
Labels
pages Preserving page-related data when splitting

Comments

@jberkenbilt
Copy link
Contributor

Discussed in #1129

Originally posted by mslichao January 18, 2024
Hello qpdf experts,

I have been using qpdf to split a PDF into single-page PDFs with the following command: qpdf input.pdf --split-pages=1 output.pdf. Now, I would like to achieve the same result in C# by calling the C-API. However, I would like to use memory instead of the file system for both input and output.

I believe I can use qpdf_read_memory to load the input file, but I am not sure how to get each split page PDF in memory. Can anyone guide me on how to do this?

Thank you!

@jberkenbilt jberkenbilt changed the title Question about how to split page by using C-API Split pages: save pages to memory Jan 18, 2024
@jberkenbilt jberkenbilt added the pages Preserving page-related data when splitting label Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pages Preserving page-related data when splitting
Projects
None yet
Development

No branches or pull requests

1 participant