siva.s_2 Posted March 18 Share Posted March 18 Hi all, Thanks in advance š How to display a Base64 file as an image in Jasper Report 6.20.0 version. Siva.S Link to comment Share on other sites More sharing options...
Solution RaphaĆ«l Peguet Posted March 18 Solution Share Posted March 18 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now