# Gimp.rgba_set_pixel

    @accepts(Gimp.RGB, Babl.Object, gpointer)
    @returns(none)
    def rgba_set_pixel(rgba, format, pixel):
        # Python wrapper for gimp_rgba_set_pixel()

Sets the red, green, blue and alpha components of rgba from the color stored in pixel. The pixel format of pixel is determined by format.

Since 2.10

rgba

  a Gimp.RGB struct

format

  a Babl format

pixel

  pointer to the source pixel