Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stubborn Memory
#4
To get rid of these image, you can try:

Code:
gimp.delete(gimp._id2image(image_id))

where image_id is the ID reported by the incantation above.

If you feel adventurous, you can also try:
Code:
[gimp.delete(image) for image in gimp.image_list()]
It basically tells Gimp to delete all images, but Gimp won't delete those that have an attached display, so you should be safe.
Reply


Messages In This Thread
Stubborn Memory - by Krikor - 11-05-2021, 09:38 PM
RE: Stubborn Memory - by Ofnuts - 11-05-2021, 10:24 PM
RE: Stubborn Memory - by Krikor - 11-05-2021, 10:32 PM
RE: Stubborn Memory - by Ofnuts - 11-05-2021, 11:34 PM

Forum Jump: