Right now, I do not think there is a way to retrieve the currently viewed image in Gimp if there is more than one open. So all the functions assumes it is working on gimp.image_list()[0] which is the last one currently opened.
So either make it very clear of this, or find a way (preferable)
Right now, I do not think there is a way to retrieve the currently viewed image in Gimp if there is more than one open. So all the functions assumes it is working on gimp.image_list()[0] which is the last one currently opened.
So either make it very clear of this, or find a way (preferable)