You cannot return the BufferedImage, but you can stream the data from the image. You do not need to store it in a physical file.
Have a look at this wiki page: http://wiki.apache.org/tapestry/Tapestry5HowToStreamAnExistingBinaryFile On 15 July 2012 00:00, gonzalomp87 <gonzalom...@gmail.com> wrote: > First of all sorry for the translation. My level of English is very bad. > > I'm trying to display an image on tapestry. In the .java I have a variable > of type BufferedImage. I can show directly or I need to store it in a > physical file and then display it. > > In the first way I would be much more comfortable but does not work. > > I do not know to put in the code. not work > > Thank you very much! > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/BufferedImage-in-Tapestry-tp5714465.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >