Gimp.rgba_set_uchar

@accepts(Gimp.RGB, guint8, guint8, guint8, guint8)
@returns(none)
def rgba_set_uchar(rgba, red, green, blue, alpha):
    # Python 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