jmc2 Posted March 16, 2011 Share Posted March 16, 2011 Hello,I want a report to embed a GIG image in it.The image is read from a database. The image data stream, is base64 encoded in the database. 1) In iReport (4.0.1), I set the database field (Type BLOB in database) expressions class to java.io.inputStream2) Then i created an image field in the document mapped to the database field3) The next step should be to write a small script calling the render engine (net.sf.jasperreports.engine.JRRenderer interface ?) but i don't to processe base64 convertion prior to render the image ?Many Thanks. 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