support exporting images displayed in Excel? #1075
-
birt: 4.9.0 There is a dynamic picture, which is assigned by fields in the dataset Export PDF display images. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 31 replies
-
Hello fadeli1, yes it is an standard feature of BIRT and exists already before BIRT 4.9, therefore it could nice to know you explicit case. Please be aware the handling of images in excel is tricky because the size of the image can be set in differnt ways Best regards |
Beta Was this translation helpful? Give feedback.
-
I changed from dynamic images to embedded images, exported pdf to display images, exported excel to not display images Could it be that the Excel dependency JAR package was not imported? |
Beta Was this translation helpful? Give feedback.
-
What speckyspooky means is: please attach an rptdesign file that others can test and which demonstrates the problem; not only the output. |
Beta Was this translation helpful? Give feedback.
-
So I checked your demo-file and figured out the issue. This isn't the default usage of images for excel because currently the excel-Emitter doesn't support data-URL. Therefore I added 2 additional cases in my demo report and the XLSX-result attached. Please be aware I changed your scripted data set on your images to base64 & data-URL. |
Beta Was this translation helpful? Give feedback.
So I checked your demo-file and figured out the issue.
You use the "text"-element, configured it to HTML and used th img-tage to add the image.
This isn't the default usage of images for excel because currently the excel-Emitter doesn't support data-URL.
The data-URL will be supported currently only at the print outputs like DOCX, PDF, HTML, PPTX.
Therefore I added 2 additional cases in my demo report and the XLSX-result attached.
The effect ist for example to use embedded images on BIRT-level with the image-element
and a second BIRT-image element where I use a 2 line script (please take a look into the advanced-properties) to select your Base64-string and put it to an BIRT-image.
Please …