On Thursday 18 January 2007 04:58, David Gowers wrote:
> Manuel pointed out, The gimp currently lacks any way for a plugin
> to get a coordinate from the image (eg. click on the 'seed' pixel).
> I've often wanted to do this, and it is a bit awkward without it.
> Has implementing this been avoided, or is it just an oversight?
>
> Some example usages:
> * Color mixer: click on any number of pixels then press ENTER to
> set FGcolor to a mix of all those colors.
> * Zone selector: click on a zone to select it
> * Word balloon creation (see a recent post on gimp-user) -- click
> a series of 5 points to draw a word balloon (size, point shape and
> location)
Hi David:
If you do not need it in real time, that is, if picking a point and
only then caling a plug-in suits your needs, one can use paths.
I have a couple of python-fu scripts myself that pick coordinates from
the first, or first two nodes on the active path, and it is quite
usefull.
js
-><-
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer