Gimp.Image.get_active_channel
@accepts(Gimp.Image)
@returns(Gimp.Channel)
def get_active_channel(self):
# Python wrapper for gimp_image_get_active_channel()
Returns the specified image's active channel.
If there is an active channel, this will return the channel ID, otherwise, -1.
- self
The image.
- Returns