Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #60806

any lib to convert 3200+ pic to animated gif?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <lepto.python@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.091
X-Spam-Evidence '*H*': 0.82; '*S*': 0.00; '24]': 0.16; 'files:': 0.16; 'ioerror:': 0.16; 'png': 0.16; 'wrote:': 0.18; 'skip:_ 20': 0.27; 'url:code': 0.29; 'message-id:@mail.gmail.com': 0.30; "skip:' 10": 0.31; 'file': 0.32; 'open': 0.33; 'url:source': 0.33; 'received:google.com': 0.35; 'there': 0.35; 'skip:" 50': 0.36; 'thanks': 0.36; 'subject:?': 0.36; 'too': 0.37; 'to:addr:python- list': 0.38; 'to:addr:python.org': 0.39; 'url:p': 0.64; 'subject:+ ': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=gZycpjFeCN1Rw8E3IUbYyeLTjzAR6dtfJOOuNhhSyRo=; b=O9LgXu5WRL5R3vt9RASYUczY72nKt8XkLWU+uEUYwx+ezPYTNofhzhLBeLL8b9HRIi ZutVX7cjH6sPDK8JdPPNGKGhqXnYZqSHuhaX3HWf0QJHhIIlGLLD59jkwN4Vb9sRzMBc cfM2Rk/DAiDwEOCRde1w2mkpbwulzvqDFK/c91v/18l/xxW1e2if9yrg2SwRyZ63RSdh Rjukn6Z/RiszUYQRNL7guU1xJZlbrg0F66Tlj/JGkV0rKLq2pwpuXAcqYaV5hdbLWjme m2wom1tHW2vrEa1HxWDd9HxwHzPULDi27J+/eI/RzIS7cJHMOzbLKvTvARShMD7fewrl lpRw==
MIME-Version 1.0
X-Received by 10.50.29.4 with SMTP id f4mr10696013igh.11.1385821287029; Sat, 30 Nov 2013 06:21:27 -0800 (PST)
Date Sat, 30 Nov 2013 22:21:26 +0800
Subject any lib to convert 3200+ pic to animated gif?
From oyster <lepto.python@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3423.1385821289.18130.python-list@python.org> (permalink)
Lines 20
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1385821289 news.xs4all.nl 16010 [2001:888:2000:d::a6]:52782
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:60806

Show key headers only | View raw


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


Thread

any lib to convert 3200+ pic to animated gif? oyster <lepto.python@gmail.com> - 2013-11-30 22:21 +0800

csiph-web