On 3/12/07, D. Stimits <[EMAIL PROTECTED]> wrote:
I have not found any python-fu way to "close" a file, or to reclaim memory after creating an image or layer. Is there such a thing? Is there instead some sort of garbage collection?
hahahaha! gimp.delete(image) or gimp.delete(layer) #only do this if the layer isn't attached to an image. If it is attached to an image, then deleting the image will delete all the layers and other things -- no need to delete them directly. This *is* in the pygimp documentation (plug-ins/pygimp/doc/pygimp.html in the source tree)! RTFM!
_______________________________________________ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer