How to send an image?

987 Views Asked by At

I have no idea. There is no such option. The image comes from unknown source.

enter image description here

1

There are 1 best solutions below

1
On

Add an image element to your report

Image element


Then click OK

New image dialog


Create a new parameter for LOGO with class "java.awt.Image". It isn't listed in the ComboBox, you have to write it yourself

Parameter


Click on the image element and add the new parameter into the parameter expression

Image element properties


And finally pass an image in your code to the report

reportParams.put("LOGO", YourImageObjectHere);