Skip to content

Commit cdbba1a

Browse files
committed
add image and links
1 parent 94e30fc commit cdbba1a

File tree

4 files changed

+21
-5
lines changed

4 files changed

+21
-5
lines changed

knowledge-base/convert-pdf-to-multipage-tiff-radpdfprocessing.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,17 @@ ticketid: 1660512
1919

2020
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.
2121

22+
![Convert PDF to Multipage TIFF](images/pdf-to-multiple-page-tiff.gif)
23+
2224
## Solution
2325

2426
To convert a PDF document to a multipage TIFF image, follow the steps below:
2527

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%).
2830
3. For each page, create a thumbnail image.
2931
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).
3133
6. Save the encoded TIFF image to a file.
3234

3335
Here is the code snippet demonstrating this process:
@@ -66,6 +68,15 @@ private static void Main(string[] args)
6668
Process.Start(new ProcessStartInfo() { FileName = exportedFileName, UseShellExecute = true });
6769
}
6870
```
71+
72+
## Required Assemblies
73+
74+
* Telerik.Windows.Controls.FixedDocumentViewers.dll
75+
* Telerik.Windows.Documents.Core.dll
76+
* Telerik.Windows.Documents.Fixed.dll
77+
* WindowsBase.dll
78+
* PresentationCore.dll
79+
6980
## Notes
7081

7182
- Ensure you have added references to the necessary Telerik Document Processing and WPF libraries in your project.
@@ -74,6 +85,8 @@ private static void Main(string[] args)
7485

7586
## See Also
7687

77-
- [RadPdfProcessing Overview](https://docs.telerik.com/devtools/document-processing/libraries/radpdfprocessing/overview)
78-
- [Export RadFixedPage to Image KB Article](https://docs.telerik.com/devtools/document-processing/knowledge-base/export-radfixedpage-to-image)
88+
- [RadPdfProcessing Overview]({%slug radpdfprocessing-overview%})
89+
- [Export RadFixedPage to TIFF Image]({%slug export-radfixedpage-to-image%})
7990
- [TiffBitmapEncoder Class Documentation](https://docs.microsoft.com/en-us/dotnet/api/system.windows.media.imaging.tiffbitmapencoder)
91+
- [Using SkiaImageFormatProvider]({%slug radpdfprocessing-formats-and-conversion-image-using-skiaimageformatprovider%})
92+
- [Converting Multi-page TIFF Images to PDF]({%slug convert-tiff-to-pdf-radpdfprocessing%})

knowledge-base/convert-tiff-to-pdf-radpdfprocessing.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,3 +113,4 @@ This approach ensures the TIFF images are converted to PDF format without any pa
113113
- [RadPdfProcessing Documentation]({%slug radpdfprocessing-overview%})
114114
- [How to Generate a PDF Document from Images with FixedContentEditor]({%slug pdf-from-images-with-fixedcontenteditor%})
115115
- [How to Generate a PDF Document from Images with RadFixedDocumentEditor]({%slug pdf-from-images-with-radfixeddocumenteditor%})
116+
- [Converting a PDF Document to a Multipage TIFF Image]({%slug convert-pdf-to-multipage-tiff-radpdfprocessing%})
407 KB
Loading

libraries/radpdfprocessing/formats-and-conversion/convert-to-image/using-image-format-provider.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,5 @@ The __SkiaImageFormatProvider__ exposes the following settings:
109109
* [Converting XLSX Content to DOCX Document]({%slug convert-excel-content-to-word-document%})
110110
* [Export Worksheet to image]({%slug spreadprocessing-export-worksheet-to-image-netstandard%})
111111
* [Cropping PDF Pages and Saving as Images Using RadPdfProcessing]({%slug crop-save-pdf-pages-as-images-radpdfprocessing%})
112+
* [Converting a PDF Document to a Multipage TIFF Image]({%slug convert-pdf-to-multipage-tiff-radpdfprocessing%})
113+
* [Converting Multi-page TIFF Images to PDF]({%slug convert-tiff-to-pdf-radpdfprocessing%})

0 commit comments

Comments
 (0)