Exporting textures

Is it possible to save a texture to an image file?

Yeah, using ImageToAwt.convert() you can convert an Image to an AWT BufferedImage that you can then save like any awt BufferdImage using ImageIO. The ScreenShotAppState directly converts a FrameBuffer to an image and saves it, you can view its code by right-clicking the class and selecting “Navigate->Show Source”.

1 Like

Thanks!