Jump to content
Changes to the Jaspersoft community edition download Ɨ

How to display Base64 file as image in Japer report 6.20.0

Go to solution Solved by Raphaƫl Peguet,

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Solution

Hi Siva,

I found the question of Sadakar describing very well how to use Base64 images in a JasperReports template. Not sure whether his server issue was resolved but you may find the post atĀ 

With a field called image_base64 the image expression should then be:

net.sf.jasperreports.engine.util.JRImageLoader.getInstance(new SimpleJasperReportsContext()).loadAwtImageFromBytes(Base64.getDecoder().decode($F{image_base64}))


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...