02-08-2026, 02:13 AM
(02-07-2026, 09:18 PM)thatersc57 Wrote: Sorry, I must have been unclear. I want to create a mask from a selection using python code. I would very much like to know which gimp procedures to use for achieving this. I am thinking of edit_copy and edit_paste_new_image, but the first has a drawable is argument and the second an image. So maybe it's not straightforward.
I think I already did that, or something similar. For a start, it's good to know that masks and selection are actually just channels with special purpose.So, all methods for channels apply.
I can look into it tomorrow if you still need it. Now I have to go to sleep. ;-)

