Method
GimpDrawableget_pixel
Declaration [src]
guint8*
gimp_drawable_get_pixel (
GimpDrawable* drawable,
gint x_coord,
gint y_coord,
gint* num_channels
)
Description [src]
Gets the value of the pixel at the specified coordinates.
This procedure gets the pixel value at the specified coordinates. The ‘num_channels’ argument must always be equal to the bytes-per-pixel value for the specified drawable.