This is my first project with python-fu. I have a routine I need to do on hundreds of images, a few times on each image.
What I need to do is
1. Select a color using pdb.gimp_image_select_color
2. Delete the contents of that selection
This is the equivalent of
1. Using the Select By Color Tool (Shift O)
2. Hitting the delete button on the keyboard
I can create the selection but I am not sure how to delete the contents within the selection. Can someone steer me in the right direction for what I need to do next or point me towards an example?
Many thanks
What I need to do is
1. Select a color using pdb.gimp_image_select_color
2. Delete the contents of that selection
This is the equivalent of
1. Using the Select By Color Tool (Shift O)
2. Hitting the delete button on the keyboard
I can create the selection but I am not sure how to delete the contents within the selection. Can someone steer me in the right direction for what I need to do next or point me towards an example?
Many thanks