2005 IR Help Posted August 26, 2006 Share Posted August 26, 2006 By: David - gdavej Buffered Images 2004-04-25 12:00 I want to include an image in a report, but rather than use a image file, I want to use a BufferedImage produced by Java2D. Is this possible? Link to comment Share on other sites More sharing options...
javydreamercsw Posted October 16, 2007 Share Posted October 16, 2007 I'm looking for the same answer. Is there a way of doing this in the actual 2+ series? Link to comment Share on other sites More sharing options...
lucianc Posted October 16, 2007 Share Posted October 16, 2007 You can use any java.awt.Image instance as image expression:Code:<image> ... <imageExpression class="java.awt.Image">...</imageExpression></image> HTH,Lucian Link to comment Share on other sites More sharing options...
javydreamercsw Posted October 16, 2007 Share Posted October 16, 2007 Would work with buffered images also? What if the image is code generated returning the bufferedimage as a result of the call? Thanks! Link to comment Share on other sites More sharing options...
lucianc Posted October 16, 2007 Share Posted October 16, 2007 Yes (java.awt.image.BufferedImage extends java.awt.Image) and yes (you can write any expression as long as it evaluates to a java.awt.Image). HTH,Lucian 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