Method

GeglColorset_pixel

Declaration [src]

void
gegl_color_set_pixel (
  GeglColor* color,
  const Babl* format,
  void* pixel
)

Description [src]

Set a GeglColor from a pointer to a pixel and it’s babl format.

This method is not directly available to language bindings.

Parameters

format Babl
 

A babl pixel format.

 The data is owned by the caller of the function.
pixel void*
 

Pointer to a pixel.

 The argument can be NULL.
 The data is owned by the caller of the function.