How do I convert an image from RenderedImage to BufferedImage?

clemens privacy

There doesn't seem to be a direct way to do it, but try the following:


BufferedImage mine = 
    new BufferedImage(renderimage.getWidth(),
                      renderimage.getHeight(),
                      BufferedImage.TYPE_INT_RBG);
mine.getGraphics().drawImage(renderimage,0,0,NULL);
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact