Gimp.rgba_get_uchar

function rgba_get_uchar(rgba: Gimp.RGB): [red: Number(guint8), green: Number(guint8), blue: Number(guint8), alpha: Number(guint8)] {
    // Gjs wrapper for gimp_rgba_get_uchar()
}
  

Gets the 8bit red, green, blue and alpha components of rgba.

rgba

a Gimp.RGB struct

red

Location for the red component

green

Location for the green component

blue

Location for the blue component

alpha

Location for the alpha component