[Gimp-developer] gimp-python: checking if point is in selection
Sven Neumann
sven at gimp.org
Fri Jun 2 10:54:41 PDT 2006
Hi,
On Fri, 2006-06-02 at 13:48 +0200, Sebastian Breuers wrote:
> i wondered if there is a possibility to check, if a point is in a given
> selection by using an internal gimp function.
> If it's not, could someone give me a hint, how to achieve this in creating an
> own function?
Use gimp-image-get-selection to get the selection mask and check the
value of the pixel you are interested in.
Sven
More information about the Gimp-developer
mailing list