My XML input will have a base64 encoded Version of an image. The image is dynamic in nature an cannot be embedded using image-embed image option in BIRT. I am using Version >4 BIRT. I tried the URI option With input as base64 but its not working in the preview of PDF. Can any body throw some lightssee how i added. dataimage tag is my base64encoded data
Asked
Active
Viewed 812 times
1 Answers
2
Finally I am able to figure it out.
- The encoded data of xml needs to be decoded and passed on to a table row.
org.apache.commons.codec.binary.Base64.decodeBase64(row["dcpimage"]).
- It will not appear in the template but will properly refelct in pdf and html preview mode

Jean-François Corbett
- 37,420
- 30
- 139
- 188

MelwinPhilip
- 15
- 3