Re: [Gimp-developer] Pixel coordinates input type for script-fu?

2007-05-02 Thread coolhand
You cou use the selection tool and get the selection or use the path tool's initial point, or create a preview window, where you can get events more directly. Other way is to associate a key binding at your plugin that catches the position of your mouse in that moment and then get the pixel value.

Re: [Gimp-developer] Pixel coordinates input type for script-fu?

2007-05-02 Thread Mark Lowry
Joao, Thanks for the help. I figured out that "aref" works to extract a vector element, while "vector-ref" does not appear to be supported in GIMP. I ended up using a path consisting of 4 points created before running the script to get my input points and things are working nicely now. It's no

[Gimp-developer] Three point layer distortion mapping feature?

2007-05-02 Thread Mark Lowry
A plug-in that takes three control points on a layer and then distorts the layer (by scaling, translating, rotating, and stretching) so that those points end up on three other identified control points would be very useful. For example, if you wanted to combine two images shot at different exposur

Re: [Gimp-developer] Three point layer distortion mapping feature?

2007-05-02 Thread Chris Mohler
On 5/2/07, Mark Lowry <[EMAIL PROTECTED]> wrote: [...] > What are everyone's thoughts on this? Is it worth > initiating an enhancement request in Bugzilla? IIRC, hugin[1] can align stacks of images. Chris 1 - http://hugin.sourceforge.net/ ___ Gimp-dev

Re: [Gimp-developer] Three point layer distortion mapping feature?

2007-05-02 Thread Mark Lowry
--- Chris Mohler <[EMAIL PROTECTED]> wrote: > On 5/2/07, Mark Lowry <[EMAIL PROTECTED]> wrote: > [...] > > What are everyone's thoughts on this? Is it worth > > initiating an enhancement request in Bugzilla? > > IIRC, hugin[1] can align stacks of images. > > Chris > > 1 - http://hugin.sourcef

Re: [Gimp-developer] Three point layer distortion mapping feature?

2007-05-02 Thread GSR - FR
Hi, [EMAIL PROTECTED] (2007-05-02 at 1819.04 -0700): > That's sort of what I'm talking about. The problem > with that is that the two images/layers are merged by > hugin, meaning there is no chance for any masking or > individual treatment of the layers after the mapping > has been applied. You m

Re: [Gimp-developer] Three point layer distortion mapping feature?

2007-05-02 Thread Tom Lechner
On 05/02/2007 01:53:42 PM, Mark Lowry wrote: > A plug-in that takes three control points on a layer > and then distorts the layer (by scaling, translating, > rotating, and stretching) so that those points end up > on three other identified control points would be very > useful > .. > Having the