Gimp.Channel.get_by_id

@accepts(gint32)
@returns(Gimp.Channel)
def get_by_id(channel_id):
    # Python wrapper for gimp_channel_get_by_id()
  

Returns a Gimp.Channel representing channel_id. This function calls Gimp.Item.get_by_id and returns the item if it is channel or None otherwise.

Since 3.0

channel_id

The channel id.

Returns