Extracting Inline Images from PictureBox in TRDP Report
Environment
Product | Progress® Telerik® Reporting |
Description
In Telerik Reporting, images can be embedded directly into a report's PictureBox. This becomes an issue when the original image file needs to be edited, but cannot be located outside the report template (.trdp
file). This knowledge-base article also answers the following questions:
- How can I save an embedded image from a Telerik Report PictureBox?
- How to extract an image embedded within a Telerik Reporting template?
- What is the method to retrieve inline images from Telerik Reporting files?
Solution
To extract and save the original image embedded in a PictureBox within a Telerik Reporting template file, follow these steps:
- Make a copy of the report template file (.trdp) to ensure the original file remains unaltered and safe.
- Change the file extension of the copied .trdp file to .zip. For example, if your report file is named
MyReport.trdp
, rename it toMyReport.zip
. - Extract the content of the .zip file using any standard archiving software like WinRAR, WinZip, or the built-in Windows extractor.
- Navigate to the
Images
folder within the extracted contents. Here, you will find the original image file embedded in the PictureBox. - Once located, you can copy the image file to another location for editing or use as needed.
Always work with a copy of the report file to avoid any potential data loss or corruption of your original report template.