Re: gimp-python: checking if point is in selection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2006-06-02 at 23:16 +0200, Sebastian Breuers wrote:
> 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?

Use gimp-selection-value

ciao,
--mitch

_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux