Re: Does PIL ImageDraw create shape objects or stain pixels?
James <[email protected]> Wed, 2 Nov 2011 14:42:43 -0400
| Newsgroups | gmane.comp.python.image |
|---|---|
| Message-ID | <CA+YJUJEMhDmJcKu4aO67S7u+4kXuUe_7P-T7rs37EMdksVzzmQ@mail.gmail.com> |
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 - [email protected] http://mail.python.org/mailman/listinfo/image-sig