How to create an animated gif file in Qt? I'm using a QGLWidget, I hope to create an animated gif file when the scene in the QGLWidget is changing.
How to create an animated gif file in Qt? I'm using a QGLWidget, I hope to create an animated gif file when the scene in the QGLWidget is changing.
This has nothing to do with Qt.
Did you try google on creating animated gifs?
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
As far as I remember Qt doesn't write animated gifs. It only reads them. If you want to record your GL widget then using animated gifs is probably a bad decision anyway as gif can only display 256 colours. Better dump images you want to animate to disk and then use some external tool (like mencoder or ffmpeg) to assemble them into a proper avi or mpeg video.
Bookmarks