Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Base 64 Image Url not working : PDF
Migrateduser
<p>Hi , </p>
<p> </p>
<p>I am trying the display dynamic value which is an base 64 encoded Image in BIRT Report with output type as PDF . But its not working.</p>
<p> </p>
<p>I had used the following approach.</p>
<p> </p>
<p>1: Added a element Dynamic Image and set the url, But i am getting the error as "Requested Resource is not available"</p>
<p> </p>
<p>2: Added a element Dynamic Image and on Create Method </p>
<p> </p>
<div>decoder = new BASE64Decoder();</div>
<div>decodedBytes = decoder.decodeBuffer(this.getRowData().getColumnValue("tranDateImgData"));</div>
<div>this.data =decodedBytes;</div>
<div>bais = new ByteArrayInputStream(decodedBytes);</div>
<div>bufimg = ImageIO.read(bais);</div>
<div>this.setHeight(bufimg.getHeight() +"px");</div>
<div>this.setWidth(bufimg.getWidth() +"px");</div>
<p> </p>
<p> </p>
<p>Error :- Current report item is not supported in this report format.</p>
Find more posts tagged with
Comments
There are no comments yet