# Gimp.Drawable.get_pixel

    @accepts(Gimp.Drawable, int, int, int)
    @returns([guint8])
    def get_pixel(self, x_coord, y_coord, num_channels):
        # Python wrapper for gimp_drawable_get_pixel()

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.

self

  The drawable.

x_coord

  The x coordinate.

y_coord

  The y coordinate.

num_channels

  The number of channels for the pixel.

Returns