[Image-SIG] Does PIL ImageDraw create shape objects or stain pixels?
James
virtue at rocketmonkeys.com
Wed Nov 2 19:42:43 CET 2011
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
More information about the Image-SIG
mailing list