Image embedded directly in the layout #1175
-
How do I insert a base64 image embedded directly in the layout in the backgroundImage property? I need my images to be inside the report xml, to use as background in some rows |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 14 replies
-
Did you google it? https://www.google.com/search?q=eclipse+birt+images+bas64 |
Beta Was this translation helpful? Give feedback.
-
Are you sure that you are not encountering issue #657? If so, you will need Birt 4.9 or higher |
Beta Was this translation helpful? Give feedback.
-
I come back with summary of analysis in the last 2 days. Summary at the beginning: The pont is that the functionality wasn't programmed out in all option. The background image handling includes currently only the URL-image-usage based on local path at all. Yes the option of "Embedded Image" is selectable but it doesn't work. This task is open since the implementation of background images. I figured out an bugzilla-request at the year 2012 The ticket includes also a change from 2012 and I tested the implementation in a local branch The next point which I figured out is that not all emitter works with the change of #386245 and doesn't work too with data-URL. And the last point is that the handling of the background image is completely different implemented like the image-object. For my testing I changed:
Hint of "Embedded Image": This means the embeding is on the report level and not on script lavel. To get the background image working in full are several changes required through the full BIRT-framework:
Such a "small" requirement but so many stuff to get it in work. |
Beta Was this translation helpful? Give feedback.
-
@MuriloIPM Short update with BIRT4.13 the background images will be supported with embedded images and also the data-URL will be part of the support. |
Beta Was this translation helpful? Give feedback.
I come back with summary of analysis in the last 2 days.
Summary at the beginning:
Currently it isn't possible to use "Embedded Images" or data-URL like background image.
This point is given on all elements which use background images.
The pont is that the functionality wasn't programmed out in all option. The background image handling includes currently only the URL-image-usage based on local path at all. Yes the option of "Embedded Image" is selectable but it doesn't work.
I investigated on the code an there is no handling implemented.
This task is open since the implementation of background images. I figured out an bugzilla-request at the year 2012
#386245 https://bugs.eclipse.org/bugs…