Re: [Gimp-user] Doing a select without the mouse?

2013-01-24 Thread Gary Aitken
On 01/23/13 20:18, Steve Kinney wrote:
 On 01/23/2013 07:36 PM, Gary Aitken wrote:
 
 Hitting enter in the image window has no effect whatsoever when the 
 rectangle
 tool is active.  At least in my 2.8.2 version.
 
 Ditto here.  I tried it and was surprised that I could not figure
 out a way to make the rectangular select tool options draw a
 rectangular selection - it moves and resizes them all day long but
 only if one already exists on the canvas - as far as I can tell.
 
 For me this is not a problem but it is kind of puzzling.

I now see how to use it, although it is awkward.  But at least I can get the
exact location and size I want:

  1.  Click in the image and drag out any rectangular selection
  2.  Change focus back to the tool options and set the origin and size
  3.  Change focus back to the image and hit enter

Gary
___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] Doing a select without the mouse?

2013-01-24 Thread Steve Kinney
On 01/24/2013 01:51 PM, Gary Aitken wrote:
 On 01/23/13 20:18, Steve Kinney wrote:
 On 01/23/2013 07:36 PM, Gary Aitken wrote:

 Hitting enter in the image window has no effect whatsoever when the 
 rectangle
 tool is active.  At least in my 2.8.2 version.

 Ditto here.  I tried it and was surprised that I could not figure
 out a way to make the rectangular select tool options draw a
 rectangular selection - it moves and resizes them all day long but
 only if one already exists on the canvas - as far as I can tell.

 For me this is not a problem but it is kind of puzzling.
 
 I now see how to use it, although it is awkward.  But at least I can get the
 exact location and size I want:
 
   1.  Click in the image and drag out any rectangular selection
   2.  Change focus back to the tool options and set the origin and size
   3.  Change focus back to the image and hit enter

I actually do this semi-routinely (but mostly with the similar
dialogs for the Crop tool), in the process of composing images that
are destined for web display at a pre-specified size:  Using the
fixed aspect ratio option lets you frame the subject decently,
then cropping and resizing gives the specified dimensions.

But the procedure always starts with some selection (or crop area)
on the canvas, which I understood to be out of bounds to the
original poster's requirement.

:o)

Steve


___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] Doing a select without the mouse?

2013-01-23 Thread Ofnuts

On 01/23/2013 05:00 AM, Gary Aitken wrote:

Is it possible to do a rectangle select without the mouse?
For example, with the rectangle tool selected, one can fill in the fields in the
tool options to specify the coordinates and size of the rectangle,
but I can't see a way to actually commit the operation;


What operation? Until you click/drag on the image, there is no selection 
started, and the numbers you enter in the Tools options are meaningless. 
To give them a purpose you have to click first, which means using the mouse.



I don't see a do it button at the bottom, or an option in the tool options 
menu.
I'm looking to get a precisely sized selection to fill into an added space.
For example, when adding a strip at the top of an image,
I would like to grab the top 100 pixels,
flip it vertically to create a mirror image,
and paste it into the expanded canvas.
Am I missing something?


The value is committed when you switch to another tool.


___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] Doing a select without the mouse?

2013-01-23 Thread Gary Aitken
On 01/23/13 02:14, Ofnuts wrote:
 On 01/23/2013 05:00 AM, Gary Aitken wrote:
 Is it possible to do a rectangle select without the mouse?
 For example, with the rectangle tool selected, one can fill in the fields in 
 the
 tool options to specify the coordinates and size of the rectangle,
 but I can't see a way to actually commit the operation;
 
 What operation? Until you click/drag on the image, there is no selection
 started, and the numbers you enter in the Tools options are meaningless.
 To give them a purpose you have to click first, which means using the mouse.

If the values are meaningless, then why do they appear in the Tool Options
for the rectangle select?  Clicking and dragging sets the values for Position
and Size in the Tool Options.  These are not read-only entries; they may
be set via the keyboard.  If one can set them via the keyboard, it should
be possible to have them take effect after entering them.  They should either
be read only, or should have a corresponding Select button which can be
activated.

___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] Doing a select without the mouse?

2013-01-23 Thread Olivier
2013/1/23 Gary Aitken g...@dreamchaser.org:
 On 01/23/13 02:14, Ofnuts wrote:
 On 01/23/2013 05:00 AM, Gary Aitken wrote:
 Is it possible to do a rectangle select without the mouse?
 For example, with the rectangle tool selected, one can fill in the fields 
 in the
 tool options to specify the coordinates and size of the rectangle,
 but I can't see a way to actually commit the operation;

 What operation? Until you click/drag on the image, there is no selection
 started, and the numbers you enter in the Tools options are meaningless.
 To give them a purpose you have to click first, which means using the mouse.

 If the values are meaningless, then why do they appear in the Tool Options
 for the rectangle select?  Clicking and dragging sets the values for 
 Position
 and Size in the Tool Options.  These are not read-only entries; they may
 be set via the keyboard.  If one can set them via the keyboard, it should
 be possible to have them take effect after entering them.  They should either
 be read only, or should have a corresponding Select button which can be
 activated.

To complete the selection, press Enter in the image window.
-- 
Olivier Lecarme
___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] Doing a select without the mouse?

2013-01-23 Thread Michael Schumacher
 Von: Gary Aitken g...@dreamchaser.org

 On 01/23/13 02:14, Ofnuts wrote:
 
  What operation? Until you click/drag on the image, there is no selection
  started, and the numbers you enter in the Tools options are meaningless.
  To give them a purpose you have to click first, which means using the
 mouse.
 
 If the values are meaningless, then why do they appear in the Tool
 Options for the rectangle select?

I think the way to give them meaning is described in the messages parts quoted 
here.


HTH,
Michael
___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] Doing a select without the mouse?

2013-01-23 Thread Michael Schumacher
 Von: Gary Aitken g...@dreamchaser.org

 Is it possible to do a rectangle select without the mouse?

As a matter of fact, yes.


Preconditions:

- have the Script-Fu console open
- know the id of the image you want to create a selection for
- read the documentation of the gimp-rect-select procedure in the procedure 
browser


Then, in the Script-Fu console:

(gimp-rect-select image x y width height operation feather feather-radius)


For example, assuming you've got an image with the id 1:

(gimp-rect-select 1 23 23 42 42 2 1 5)



HTH,
Michael
___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] Doing a select without the mouse?

2013-01-23 Thread Gary Aitken
On 01/23/13 07:46, Olivier wrote:
 2013/1/23 Gary Aitken g...@dreamchaser.org:
 On 01/23/13 02:14, Ofnuts wrote:
 On 01/23/2013 05:00 AM, Gary Aitken wrote:
 Is it possible to do a rectangle select without the mouse?
 For example, with the rectangle tool selected, one can fill in the fields 
 in the
 tool options to specify the coordinates and size of the rectangle,
 but I can't see a way to actually commit the operation;

 What operation? Until you click/drag on the image, there is no selection
 started, and the numbers you enter in the Tools options are meaningless.
 To give them a purpose you have to click first, which means using the mouse.

 If the values are meaningless, then why do they appear in the Tool Options
 for the rectangle select?  Clicking and dragging sets the values for 
 Position
 and Size in the Tool Options.  These are not read-only entries; they may
 be set via the keyboard.  If one can set them via the keyboard, it should
 be possible to have them take effect after entering them.  They should either
 be read only, or should have a corresponding Select button which can be
 activated.
 
 To complete the selection, press Enter in the image window.
 

Hitting enter in the image window has no effect whatsoever when the rectangle
tool is active.  At least in my 2.8.2 version.

I tried the following:
  Get focus to image window
  ^R to activate rectangle tool
  Shift focus to Rectangle Select tool options dialog
(wm key sequence + tabs or mouse click)
  Set position to 10,10
  Set size to 50 x 100
  Shift focus to image window (wm key sequence or mouse click)
  Hit enter
nothing happens

Can you give me a sequence where it does work?

Thanks,

Gary
___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] Doing a select without the mouse?

2013-01-23 Thread Steve Kinney
On 01/23/2013 07:36 PM, Gary Aitken wrote:

 Hitting enter in the image window has no effect whatsoever when the 
 rectangle
 tool is active.  At least in my 2.8.2 version.

Ditto here.  I tried it and was surprised that I could not figure
out a way to make the rectangular select tool options draw a
rectangular selection - it moves and resizes them all day long but
only if one already exists on the canvas - as far as I can tell.

For me this is not a problem but it is kind of puzzling.

:o/

Steve


___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


[Gimp-user] Doing a select without the mouse?

2013-01-22 Thread Gary Aitken
Is it possible to do a rectangle select without the mouse?
For example, with the rectangle tool selected, one can fill in the fields in the
tool options to specify the coordinates and size of the rectangle, 
but I can't see a way to actually commit the operation;
I don't see a do it button at the bottom, or an option in the tool options 
menu. 
I'm looking to get a precisely sized selection to fill into an added space.
For example, when adding a strip at the top of an image,
I would like to grab the top 100 pixels,
flip it vertically to create a mirror image,
and paste it into the expanded canvas.
Am I missing something?

Thanks,

Gary
___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list