gimp_drawable_fill << INDEX >> gimp_drawable_has_alpha

gimp_drawable_get_pixel (1997)

NAME
gimp_drawable_get_pixel - Gets the value of the pixel at the specified coordinates.
SYNOPSIS
(num_channels,pixel) = gimp_drawable_get_pixel (drawable,x_coord,y_coord)
DESCRIPTION
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.
INPUT ARGUMENTS
TYPENAMEDESCRIPTION
DRAWABLEdrawableThe drawable
INT32x_coordThe x coordinate
INT32y_coordThe y coordinate
RETURN VALUES
TYPENAMEDESCRIPTION
INT32num_channelsThe number of channels for the pixel
INT8ARRAYpixelThe pixel value
SOME SYNTAX ALTERNATIVES
pixel = $drawable->get_pixel (x_coord,y_coord)
AUTHOR
Spencer Kimball & Peter Mattis
(c)1997 Spencer Kimball & Peter Mattis


This page was created by gimpdoc, written by Marc Lehmann <pcg@goof.com>