Re: Speeding up writing to JPG file
Posted by
gouessej on
Jul 18, 2016; 10:55am
URL: https://forum.jogamp.org/Speeding-up-writing-to-JPG-file-tp4036909p4036927.html
Cmar wrote
gouessej: The second code example in my previous post uses GLReadBufferUtil.write(File), which simply calls TextureIO.write(File). That internally creates a new BufferedImage every time, and has a noticeably worse performance than using AWTGLReadBufferUtil instead.
TextureIO shouldn't create a BufferedImage, maybe you make a confusion with AWTTextureIO or maybe TextureIO uses the default SPI based on AWT instead of our own encoders and decoders.