How to create a PlanarImage with an image stored in a byte array.
0 posts in topic
Flat View  Flat View

Posted By:   Ronnie_Kilsbo
Posted On:   Tuesday, May 14, 2002 02:53 AM

I have a byte array containing an JPEG Image, now I somehow want to create a PlanarImage() containing that image. Until now I have used:

PlanarImage image = JAI.create("fileload", "/path/filename");

So, what should I do to take the image data from the byte[] instead of reading it from disk?

About | Sitemap | Contact