Re: Enabling plugins to get the user to click a point on the image.

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

 



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@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