Gimp.rgba_get_pixel
@accepts(Gimp.RGB, Babl.Object, gpointer)
@returns(none)
def rgba_get_pixel(rgba, format, pixel):
# Python wrapper for gimp_rgba_get_pixel()
Writes the red, green, blue and alpha components of rgba to 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 destination pixel