[Image-SIG] Image.open fails when called more than 254 times

Jeff Mathews jeffm at fifengr.com
Mon Sep 21 04:43:54 CEST 2009


Using PIL 1.1.6 and the code...
image = Image.open(filename)
This works well, until the 255th time.  All subsequent calls fail with
IOError.  Is this a bug in PIL? I am trying to load several hundred images
and best fit rectangle pack them so it's best to open them all at once.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/image-sig/attachments/20090920/b5f5a059/attachment.htm>


More information about the Image-SIG mailing list