Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » displaying Image base64
displaying Image base64 [message #1058169] Mon, 13 May 2013 02:49 Go to next message
shahrul azhar is currently offline shahrul azharFriend
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 05:27 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

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


Developer Evangelist, Silanis
Previous Topic:Difference between consecutive rows(next-current)
Next Topic:Report Designer Will Not Generate PDF
Goto Forum:

Current Time: Fri Sep 29 03:36:40 GMT 2023

Powered by FUDForum. Page generated in 0.02573 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top