LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   javax.media.jai.RenderedOp to byte[] (http://www.linuxquestions.org/questions/programming-9/javax-media-jai-renderedop-to-byte%5B%5D-312834/)

csfalcon 04-13-2005 11:34 AM

javax.media.jai.RenderedOp to byte[]
 
Hi,

Does anyone know a way to covert a javax.media.jai.RenderedOp to byte[]?

I can create a RenderedOp from a byte[] with:

Code:

RenderedOp render =
JPEGDescriptor.create(SeekableStream.wrapInputStream(new ByteArrayInputStream(new byte[100]), true),null);

but no idea how to convert it back after I am done manipulating the image.


All times are GMT -5. The time now is 08:03 PM.