Login  Register

Re: Speeding up writing to JPG file

Posted by Cmar on Jul 18, 2016; 8:22am
URL: https://forum.jogamp.org/Speeding-up-writing-to-JPG-file-tp4036909p4036926.html

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.

Ryan: Thank you, I'll have a look into that later. We're trying to stay away from C++/Java interop, so if there's no Java solution this will get a lower priority than other tasks.