Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » displaying Image base64
displaying Image base64 [message #1058169] Sun, 12 May 2013 22:49 Go to next message
shahrul azhar is currently offline shahrul azhar
Messages: 1
Registered: May 2013
Junior Member
Hi All,

I have a question.
I want display image base64 from database in BIRT REPORT

currently i using birt 2.6
i try follow suggestion by JASON in

using this code

decoder = new BASE64Decoder();
decodedBytes =
decoder.decodeBuffer(this.getRowData().getColumnValue("Base64imagedata")); =decodedBytes;
bais = new ByteArrayInputStream( decodedBytes);
bufimg =;
this.setHeight(bufimg.getHeight() +"px");
this.setWidth(bufimg.getWidth() +"px");

but, the image still not appear.

Please help me
Re: displaying Image base64 [message #1058427 is a reply to message #1058169] Tue, 14 May 2013 01:27 Go to previous message
Michael Williams is currently offline Michael Williams
Messages: 1560
Registered: July 2009
Senior Member

Are you getting any errors? Or is the output just blank?


Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.
Previous Topic:Difference between consecutive rows(next-current)
Next Topic:Report Designer Will Not Generate PDF
Goto Forum:

Current Time: Thu Aug 21 06:10:14 EDT 2014

Powered by FUDForum. Page generated in 0.03322 seconds