Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #60806
| Date | 2013-11-30 22:21 +0800 |
|---|---|
| Subject | any lib to convert 3200+ pic to animated gif? |
| From | oyster <lepto.python@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3423.1385821289.18130.python-list@python.org> (permalink) |
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:
[code]
allPic=glob.glob('*.png')
allPic.sort()
allPic=[Image.open(i) for i in allPic]
writeGif('lala3.gif',allPic, duration=0.5, dither=0)
[/code]
However I got
[quote]
allPic=[Image.open(i) for i in allPic]
File "e:\prg\py\python-2.7.3\lib\site-packages\PIL\Image.py", line
1952, in open
fp = __builtin__.open(fp, "rb")
IOError: [Errno 24] Too many open files: 'out0572.png'
[/quote]
Is there other lib for py? thanks
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
any lib to convert 3200+ pic to animated gif? oyster <lepto.python@gmail.com> - 2013-11-30 22:21 +0800
csiph-web