How to get PlanarImage From BufferedImage ?
Hi, friends:Maybe it's a really stupid question, but I just don't get it from the JAI API. And they use PlanarImage everywhere in JAI. Thanks for any answer or links to some helpful 101tutorials.David
Use the javax.media.jai.RenderedImageAdapter class, which is asubclass of PlanarImage. Its constructor takes RenderedImage as anargument. Since BufferedImage implements the RenderedImage interface,you can pass a BufferedImage object to its constructor.