cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Markus <t.mar...@proventis.net>
Subject Re: Streaming buffered image using Cocoon
Date Fri, 20 May 2011 11:12:18 GMT
hi,

create a reader and stream your image. see AbstractReader.out and beware 
of org.apache.cocoon.util.BufferedOutputStream.realFlush()

regards
Thomas

> You can use
> javax.imageio.ImageIO.write(RenderedImage, String, OutputStream)
> to write directly into an OutputStream.
>
> You just need to get the OutputStream from the original HTTP request.
>
> HTH,
> Steven


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message