I want to convert custom channels into selection using python-fu. This can be done manually in Gimp using "Channel to Selection".
I can retrieve the image and the channel as Python objects but I can’t figure out how to convert this channel to selection.
images = gimp.image_list()
image = images[0]
ch = image.channels[0]
# ?
What I’m missing here is how do a selection from a channel.