Gimp.rgba_set_uchar

function rgba_set_uchar(rgba: Gimp.RGB, red: Number(guint8), green: Number(guint8), blue: Number(guint8), alpha: Number(guint8)): void {
    // Gjs wrapper for gimp_rgba_set_uchar()
}
  

Sets the red, green, blue and alpha components of rgba from 8bit values (0 to 255).

rgba

a Gimp.RGB struct

red

the red component

green

the green component

blue

the blue component

alpha

the alpha component