I\'m trying to generate an animated GIF using images2gif.py (pastebin to the most recent verson : bit.ly/XMMn5h ).
I\'m using this Python script:
In the list constructor
(fn for fn in os.listdir('.') if fn.endswith('.gif'))
the endswith is case sensitive, so if you happen to have all GIF images, then they won't be found, and you will get a
ValueError: max() arg is an empty sequence
error.
I suggest using
(fn for fn in os.listdir('.') if fn.endswith('.gif') or fn.endswith('.GIF'))
for success with this. Also, it's a good idea to create the animated gif file in the parent (or at least another) directory.