[Gimp-developer] gimp-python: checking if point is in selection
Sebastian Breuers
sebbreuers at gmx.de
Fri Jun 2 14:16:16 PDT 2006
Am Freitag, 2. Juni 2006 19:54 schrieben Sie:
> 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.
>
Hi, Sven,
i've already found the selection function, but could you tell me how to check
the value of the pixel?
>
> Sven
seb
More information about the Gimp-developer
mailing list