Eyesmagicx Posted December 6, 2022 Share Posted December 6, 2022 Hi. I have TIBCO Jaspersoft® Studio 6.8.0 and Oracle's JDBC driver version 7 to connect to Oracle database XE. I have a table that has a BLOB column in which an image is stored. The image is a PNG but I can convert it to other image formats if needed.Here is the query that retrieves the image...select rosheta_img from rosheta_design;The query retrieves one row. I need to set the retrieved image as a background for my report. I need it to cover all the page(including margins).What is the best way to do that?P.S I do not mind updating JasperSoft Studio or OJDBC or else if that could ease the task. Thanks a lot. Link to comment Share on other sites More sharing options...
Scott Andersen Posted December 13, 2022 Share Posted December 13, 2022 Check out this question/answer: https://community.jaspersoft.com/questions/1139756/print-image-blob-database-field Link to comment Share on other sites More sharing options...
Tom C Posted December 16, 2022 Share Posted December 16, 2022 Refer to: https://community.jaspersoft.com/wiki/sample-report-display-image-stored-jasperreports-server-repository Link to comment Share on other sites More sharing options...
Eyesmagicx Posted December 17, 2022 Author Share Posted December 17, 2022 Change the expression of the image field of the dataset to inputStream. Then create an image element then set it's expression to that field. 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