Login  Register

Re: Speeding up writing to JPG file

Posted by gouessej on Jul 18, 2016; 11:07am
URL: https://forum.jogamp.org/Speeding-up-writing-to-JPG-file-tp4036909p4036928.html

IIOTextureWriter creates a BufferedImage. Actually, JOGL has its own decoder for JPEG but no encoder yet.

You have two options:
- use IIOTextureWriter as a source of inspiration to implement a better writer based on AWT
- write your own texture writer for JPEG

Then, drop IIOTextureWriter and add your writer into TextureIO.
Julien Gouesse | Personal blog | Website