Solved by ptrblck in post #2 
              
              
                You could store each image separately and use an external program to create the GIF or use OpenCV (or another lib) in Python. 
This StackOverflow thread has some suggestions.