You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: knowledge-base/split-big-pdf-documents.md
+7-10Lines changed: 7 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,15 +17,11 @@ ticketid: 1679749
17
17
18
18
## Description
19
19
20
-
When working with large PDFs, especially those comprising thousands of pages and embedded images, it might be necessary to split these documents into smaller "chunks" of a specified number of pages. This need arises particularly in scenarios where the processing service can only handle PDFs of a limited page count. The challenge includes efficiently exporting subsets of pages without having to repeatedly re-import the entire document for each chunk. This knowledge base article also answers the following questions:
21
-
22
-
- How can I split a large PDF into smaller sections without re-importing it each time?
23
-
- What is the best way to handle large PDF files with RadPdfProcessing?
24
-
- How to use PdfStreamWriter to create smaller PDF chunks from a large PDF?
20
+
When working with large PDF documents, it might be necessary to split these documents into smaller "chunks" of a specified number of pages. This article shows a sample approach how to export efficiently subsets of pages without having to repeatedly re-import the entire document for each chunk.
25
21
26
22
## Solution
27
23
28
-
To efficiently export subsets of pages from a large PDF document, the `PdfStreamWriter`functionality of RadPdfProcessing can be leveraged. This approach significantly improves performance and reduces memory usage, making it ideal for processing large volumes of PDFs. Below is a step-by-step guide on how to split a PDF document into smaller "chunks" using `PdfStreamWriter`.
24
+
To efficiently export subsets of pages from a large PDF document, the [PdfStreamWriter]({%slug radpdfprocessing-formats-and-conversion-pdf-pdfstreamwriter-overview%}) functionality of [RadPdfProcessing]({%slug radpdfprocessing-overview%}) can be leveraged. This approach significantly improves performance and reduces memory usage, making it ideal for processing large volumes of PDFs. Below is a step-by-step guide on how to split a PDF document into smaller "chunks" using `PdfStreamWriter`.
29
25
30
26
### Step 1: Include Necessary Namespaces
31
27
@@ -96,10 +92,11 @@ internal class Program
96
92
}
97
93
```
98
94
99
-
This solution efficiently processes the splitting operation by writing each chunk directly to a new file without the need to re-import the original document multiple times.
95
+
This solution efficiently processes the splitting operation by writing each chunk directly to a new file without the need to re-import the original document multiple times:
0 commit comments