I have written code that draws maybe 10K objects (circles) on a single canvas. No real performance issues there at all, at least not in regards to memory. The bottleneck in my program was another part of the code, not drawing the shapes so I can't be positive that it is not slow to draw, but it didn't seem so to me.
On Wed, Nov 2, 2011 at 11:42 AM, James <vir...@rocketmonkeys.com> wrote: > AFAIK, ImageDraw is a raster-based library, not object or vector > based. So I don't think any objects are kept around, and changes > simply happen to a buffer. I could be wrong. > > That's not to say there aren't other performance issues to watch out > for. But I don't imagine that simply drawing a ton of shapes will > overload memory in ImageDraw like it would in a lib that saves object > information. > > -James > _______________________________________________ > Image-SIG maillist - Image-SIG@python.org > http://mail.python.org/mailman/listinfo/image-sig > _______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig