zghib / jmonkeyengine

Automatically exported from code.google.com/p/jmonkeyengine
0 stars 0 forks source link

Screenshot improvements #537

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
First is the capability to somehow read screenshots directly into an AWT 
BufferedImage or Android Bitmap. There is a way to export a screenshot acquired 
from the Renderer into a file, but it is not sufficient. 

The following is recommended:
1) Add "Image RenderManager.takeScreenshot(FrameBuffer)" -> Reads framebuffer 
into jME3 Image. 
2) Use ImageConverter or similar class to acquire platform specific image 
representation, either BufferedImage (Desktop) or Bitmap (Android). 
3) Image can then be exported with platform specific means (this is up to the 
user)

Original issue reported on code.google.com by ShadowIs...@gmail.com on 6 Sep 2012 at 6:04