[EMAIL PROTECTED] wrote: > > the queue holds references to the images, not the images themselves, > > so the size should be completely irrelevant.I use one instance of > > imageQueue. > > hmmm.. true. And it also fails when I use PIL Image objects instead of > arrays. Any idea why compressing the string helps?
compression and decompression takes time. sounds like you have a timing problem, and it's probably not in the imageQueue thread. adding a couple of print statements to strategic locations (e.g push image, pop image, write image to disk using this filename, etc) might help you sort this one out. </F> -- http://mail.python.org/mailman/listinfo/python-list