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/convert-pdf-to-multipage-tiff-radpdfprocessing.md
+18-5Lines changed: 18 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,15 +19,17 @@ ticketid: 1660512
19
19
20
20
When working with PDF documents, a common task might be to convert the PDF pages into multipage TIFF images. This scenario arises due to the need for image-based representations of document pages, often for archival or compatibility reasons with certain systems that prefer image formats. Converting a PDF document to a multipage TIFF file can be challenging, as this functionality is not directly supported by many graphic applications, including Adobe. This KB article demonstrates how to convert PDF documents to multipage TIFF images using RadPdfProcessing.
21
21
22
+

23
+
22
24
## Solution
23
25
24
26
To convert a PDF document to a multipage TIFF image, follow the steps below:
25
27
26
-
1. Use the `PdfFormatProvider` to import the PDF document.
27
-
2. Iterate through all the pages of the imported document.
28
+
1. Use the [PdfFormatProvider]({%slug radpdfprocessing-formats-and-conversion-pdf-pdfformatprovider%}) to import the PDF document.
29
+
2. Iterate through all the pages ([RadFixedPage]({%slug radpdfprocessing-model-radfixedpage%})) of the imported [RadFixedDocument](%slug radpdfprocessing-model-radfixeddocument%).
28
30
3. For each page, create a thumbnail image.
29
31
4. Render each thumbnail image onto a `RenderTargetBitmap`.
30
-
5. Add each rendered bitmap as a frame to a `TiffBitmapEncoder`.
32
+
5. Add each rendered bitmap as a frame to a [TiffBitmapEncoder](https://learn.microsoft.com/en-us/dotnet/api/system.windows.media.imaging.tiffbitmapencoder?view=windowsdesktop-8.0).
31
33
6. Save the encoded TIFF image to a file.
32
34
33
35
Here is the code snippet demonstrating this process:
0 commit comments