I want to make an animated GIF from 3200+ png. I searched and found http://code.google.com/p/visvis/source/browse/#hg/vvmovie and I wrote:
allPic=glob.glob('*.png')
allPic.sort()
allPic=[Image.open(i) for i in allPic]
writeGif('lala3.gif',allPic, duration=0.5, dither=0)
However I got
allPic=[Image.open(i) for i in allPic]
File "e:prgpypython-2.7.3libsite-packagesPILImage.py", line 1952, in open
fp = __builtin__.open(fp, "rb")
IOError: [Errno 24] Too many open files: 'out0572.png'
Is there other lib for py?