[Gimp-developer] creating a toolbox with menu items

2009-05-14 Thread Ioan Calin Borcoman
Hi, I have made a python plugin that registers a couple of scripts (I wanted something that does less than 'Make seamless' does; the script is attached for the curious). They scripts appear in the image's menu, but I would like to be able to add them to a toolbox (even better, to the main

[Gimp-developer] [wish] alignment rotation

2009-05-14 Thread Maciej Pilichowski
Hi, In GIMP there is such feature as rotate. This is of course useful but when correcting, you can say alignment, it is also useful to have ability to rotate image in such way that some point would make horizontal or vertical line. User would click on one point on the image, then click on the

[Gimp-developer] [wish] when pasting without any reference use mouse cursor position

2009-05-14 Thread Maciej Pilichowski
Hi, In GIMP 2.6.2 when pasting several references are taken into account -- and that is useful. But if there is no reference (no previously selected region for example) it would be useful to paste the block initially at mouse cursor position (counting left, upper corner of the rectangle which

Re: [Gimp-developer] [wish] alignment rotation

2009-05-14 Thread Jeffrey Brent McBeth
On Thu, May 14, 2009 at 03:04:27PM +0200, Maciej Pilichowski wrote: This would be much faster comparing to showing the grid and checking if the grid matches the lines on the image. I am of course wishing for adding another way to do rotation, not to replace any of the method. I've always

Re: [Gimp-developer] [wish] alignment rotation

2009-05-14 Thread Maciej Pilichowski
On Thursday 14 May 2009 15:26:46 Jeffrey Brent McBeth wrote: I've always just used the measure tool to tell me what the angle is and rotate by that angle. I'm sure your suggestion would make it faster, but not by much. I think it would be much straightforward (less thinking) -- I want to

Re: [Gimp-developer] [wish] alignment rotation

2009-05-14 Thread Liam R E Quin
On Thu, 2009-05-14 at 15:51 +0200, Maciej Pilichowski wrote: [..] I think it would be much straightforward (less thinking) -- I want to make the line from here to there horizontal/vertical; end. Go to tool options, choose corrective mode and preview grid. Now, align the grid with the item in

Re: [Gimp-developer] [wish] alignment rotation

2009-05-14 Thread Alexandre Prokoudine
On Thu, May 14, 2009 at 7:43 PM, Liam R E Quin wrote: Go to tool options, choose corrective mode and preview grid. Now, align the grid with the item in your picture that you want to be horizontal or vertical, and click rotate. In fact every time you will also need to create a different number

Re: [Gimp-developer] [wish] alignment rotation

2009-05-14 Thread Jay Smith
On 05/14/2009 11:51 AM, Alexandre Prokoudine wrote: On Thu, May 14, 2009 at 7:43 PM, Liam R E Quin wrote: Go to tool options, choose corrective mode and preview grid. Now, align the grid with the item in your picture that you want to be horizontal or vertical, and click rotate. In fact

Re: [Gimp-developer] [wish] alignment rotation

2009-05-14 Thread Henk Boom
2009/5/14 Maciej Pilichowski bluedz...@wp.pl: On Thursday 14 May 2009 15:26:46 Jeffrey Brent McBeth wrote: I've always just used the measure tool to tell me what the angle is and rotate by that angle.  I'm sure your suggestion would make it faster, but not by much. I think it would be much

Re: [Gimp-developer] creating a toolbox with menu items

2009-05-14 Thread Martin Nordholts
Ioan Calin Borcoman wrote: Is there a way to register my scripts so that they appear next to the compiled-in tools (like the 'Pencil', 'Paintbrush', etc) ? Nope, there is no plug-in mechanism for tools. / Martin ___ Gimp-developer mailing list

Re: [Gimp-developer] [wish] alignment rotation

2009-05-14 Thread Alexandre Prokoudine
On Thu, May 14, 2009 at 8:00 PM, Jay Smith wrote: In fact every time you will also need to create a different number of grid lines so that one of them would be as close as possible to a potentially horizontal/vertical feature. Straightening with a line the way Maciej described it would make

Re: [Gimp-developer] [wish] alignment rotation

2009-05-14 Thread Alexandre Prokoudine
On Thu, May 14, 2009 at 8:02 PM, Henk Boom wrote: What if the going into the rotation tool from the measure tool set the default rotation? Then you could do shift-M, drag the line, shift-R, then confirm. Don't know how learnable this would be, though. It's a horrible trick. You would probably

Re: [Gimp-developer] [wish] alignment rotation

2009-05-14 Thread Tor Lillqvist
It's a horrible trick. You would probably never guess if you weren't told how it works or read about it somewhere. So what? It wouldn't hurt anybody either. It would presumably be trivial to implement and it wouldn't require any new UI. --tml ___

Re: [Gimp-developer] [wish] alignment rotation

2009-05-14 Thread Martin Nordholts
Jay Smith wrote: However, I do have to say that the Photoshop 5.5 feature of simply drawing a line with the measure tool and then doing the rotate command is more efficient. Using the measure tool for this seems like a UI hack to me. IMO we need a better solution for GIMP, something that

Re: [Gimp-developer] [wish] when pasting without any reference use mouse cursor position

2009-05-14 Thread Martin Nordholts
Maciej Pilichowski wrote: Hi, But if there is no reference (no previously selected region for example) it would be useful to paste the block initially at mouse cursor position (counting left, upper corner of the rectangle which boundaries of the block make, as the base point). I

Re: [Gimp-developer] [wish] alignment rotation

2009-05-14 Thread Jay Smith
On 05/14/2009 12:36 PM, Martin Nordholts wrote: Jay Smith wrote: However, I do have to say that the Photoshop 5.5 feature of simply drawing a line with the measure tool and then doing the rotate command is more efficient. Using the measure tool for this seems like a UI hack to me. IMO

Re: [Gimp-developer] [wish] alignment rotation

2009-05-14 Thread Liam R E Quin
On Thu, 2009-05-14 at 19:51 +0400, Alexandre Prokoudine wrote: On Thu, May 14, 2009 at 7:43 PM, Liam R E Quin wrote: Go to tool options, choose corrective mode and preview grid. Now, align the grid with the item in your picture that you want to be horizontal or vertical, and click rotate.

Re: [Gimp-developer] [wish] alignment rotation

2009-05-14 Thread Maciej Pilichowski
On Thursday 14 May 2009 18:00:22 Jay Smith wrote: We use this Gimp feature on virtually every image we create, sometimes _hundreds_ per day. Once we originally set the number of lines in the grid, we have felt no need to make a change for months ... thousands of images. I can say only from

Re: [Gimp-developer] [wish] when pasting without any reference use mouse cursor position

2009-05-14 Thread Maciej Pilichowski
On Thursday 14 May 2009 18:43:01 Martin Nordholts wrote: Maciej Pilichowski wrote: Hi, But if there is no reference (no previously selected region for example) it would be useful to paste the block initially at mouse cursor position I don't think it is a good idea to use the cursor

Re: [Gimp-developer] [wish] when pasting without any reference use mouse cursor position

2009-05-14 Thread Liam R E Quin
On Thu, 2009-05-14 at 18:43 +0200, Martin Nordholts wrote: [...] I don't think it is a good idea to use the cursor as the insertion point since this is both very uncommon and not very practical, the mouse cursor is too volatile for this. More reasonable is to use the selection as the

Re: [Gimp-developer] [wish] when pasting without any reference use mouse cursor position

2009-05-14 Thread Martin Nordholts
Maciej Pilichowski wrote: So, I opt for some kind of predictability vs. randomness. And in such case, mouse cursor position is a good reference. I don't think the cursor is ever a good insertion point. It is better than a random insertion point, yes, but so what? It's still not a good

Re: [Gimp-developer] [wish] alignment rotation

2009-05-14 Thread Rob Antonishen
Playing with this I found an issue. Please confirm if the following is a windows only issue: When using the measure tool with Use Info Window checked (does it have any use otherwise?) The info box gets focus, so I can no longer use key shortcuts to get other tools. -Rob A On 5/14/09, Jay Smith

Re: [Gimp-developer] [wish] alignment rotation

2009-05-14 Thread Akkana Peck
Jay Smith writes: My desire would be for: click (on first point) click (on second point to finish the line) do a keystroke command that can be accomplished with ONE hand to execute the task (I would prefer not to have to hit the Enter key) You could perhaps do this with

Re: [Gimp-developer] [wish] when pasting without any reference use mouse cursor position

2009-05-14 Thread Maciej Pilichowski
On Thursday 14 May 2009 19:26:41 Martin Nordholts wrote: It is better than a random insertion point, yes, but so what? I am puzzled -- if it is better (and I agree) we should use it. Is there any reason to keep worse UI? I think progress means search for better solutions and use them. Here

Re: [Gimp-developer] [wish] when pasting without any reference use mouse cursor position

2009-05-14 Thread Akkana Peck
Liam R E Quin writes: 5) zoom in on the place where you want to work, a step at a time, gradually moving the floating selection 6) when you get to 50% or 100% so you can work, try to remember why you wanted whatever you pasted. Why you think that's a smoother workflow than 1) paste

Re: [Gimp-developer] [wish] when pasting without a ny reference use mouse cursor position

2009-05-14 Thread Maciej Pilichowski
On Thursday 14 May 2009 20:17:43 Akkana Peck wrote: I've found the paste centers behavior quite useful, It is predictable and more useful than random placement for sure. But with hires monitor I would still like some kind of hint from the mouse. Maybe LMB click and then paste would do it?

Re: [Gimp-developer] [wish] alignment rotation

2009-05-14 Thread Maciej Pilichowski
On Thursday 14 May 2009 19:46:23 Akkana Peck wrote: You could perhaps do this with a plug-in: - Use the Paths tool - Click on first point, then on second point (now you have a straight-line path with two endpoints) - Run a plug-in (which you can assign to any key you like) that gets

Re: [Gimp-developer] [wish] alignment rotation

2009-05-14 Thread Rob Antonishen
there is such a plugin. I think I saw it in the Meet the Gimp forums. -Rob A On 5/14/09, Akkana Peck akk...@shallowsky.com wrote: Jay Smith writes: My desire would be for: click (on first point) click (on second point to finish the line) do a keystroke command that can be

Re: [Gimp-developer] [wish] alignment rotation

2009-05-14 Thread saulgoode
Quoting Rob Antonishen rob.antonis...@gmail.com: there is such a plugin. I think I saw it in the Meet the Gimp forums. I wrote the following script a while back for a coin collector who wanted to easily crop his scans and rotate them so that the coin was oriented properly. The interface I