Gimp.rgba_set_pixel
function rgba_set_pixel(rgba: Gimp.RGB, format: Babl.Object, pixel: void): void {
// Gjs 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