Re: [Gimp-user] cropping to pre-set aspect ratio

2003-07-30 Thread Bertie Coopersmith

I attempted David Neary's workaround which was to first use the rectselect tool
specifying the required aspect ratio. Unfortunately I cannot do this and I think my
gimp is a bit broken. This is what I get:-
--- 
/usr/lib/gimp/1.2/plug-ins/aa: error while loading shared libraries:
 libaa.so.1: cannot open shared object file: No such file or directory

LibGimp-WARNING **: gimp: wire_read: unexpected EOF


Lets forget that. I must oneday download  recompile the latest reliable gimp.
What I am quite bucked about is that the developers seem to think that my suggestion,
(i.e. being able to set aspect in the cropping tool) is worth implementing.
Go to it guys!

Bertie Coopersmith 
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] cropping to pre-set aspect ratio

2003-07-30 Thread David Neary
Bertie Coopersmith wrote:
 I attempted David Neary's workaround which was to first use the rectselect tool
 specifying the required aspect ratio. Unfortunately I cannot do this and I think my
 gimp is a bit broken. This is what I get:-
 --- 
 /usr/lib/gimp/1.2/plug-ins/aa: error while loading shared libraries:
  libaa.so.1: cannot open shared object file: No such file or directory
 
 LibGimp-WARNING **: gimp: wire_read: unexpected EOF
 

I don't know what you're doing - is this when the gimp is
starting up that you get this? In which case, either install
libaa (ASCII art) or remove the plug-in. It's an optional plug-in
which requires a 3rd party library - if you don't have it it's
not dramatic. It just means that you can't save your images as
text files...

Anyway, that shouldn't stop the gimp from operating. Does it do
so? 

Cheers,
Dave.

-- 
   David Neary,
   Lyon, France
  E-Mail: [EMAIL PROTECTED]
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] cropping to pre-set aspect ratio

2003-07-30 Thread Bertie Coopersmith
On Wed, 30 Jul 2003 14:33:32 +0200
David Neary [EMAIL PROTECTED] wrote:

 Bertie Coopersmith wrote:
  I attempted David Neary's workaround which was to first use the rectselect tool
  specifying the required aspect ratio. Unfortunately I cannot do this and I think my
  gimp is a bit broken. This is what I get:-
  --- 
  /usr/lib/gimp/1.2/plug-ins/aa: error while loading shared libraries:
   libaa.so.1: cannot open shared object file: No such file or directory
  
  LibGimp-WARNING **: gimp: wire_read: unexpected EOF
  
 
 I don't know what you're doing - is this when the gimp is
 starting up that you get this? In which case, either install
 libaa (ASCII art) or remove the plug-in. It's an optional plug-in
 which requires a 3rd party library - if you don't have it it's
 not dramatic. It just means that you can't save your images as
 text files...
 
 Anyway, that shouldn't stop the gimp from operating. Does it do
 so? 

I get the error when, with an image opened in gimp, I click tools, select,
rectselect. Nothing happens in the image window but the error appears in my
terminal window at that moment. I can continue in gimp doing other operations with
the image. Only when I quit gimp do I actually see the error message(s). To my
knowledge I was not attempting to save the image as a text file or do any kind
of save. My image file is a JPEG and for my purposes of cropping, resizing etc
I dont make use of layers. I am happy to use my gimp as it is unless other signs of
flakiness turn up. However I would love to know if my suggestion re cropping
has a chance of being realized in a later release.

Regards, Bertie Coopersmith





 
 -- 
David Neary,
Lyon, France
   E-Mail: [EMAIL PROTECTED]
 ___
 Gimp-user mailing list
 [EMAIL PROTECTED]
 http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] cropping to pre-set aspect ratio

2003-07-30 Thread Bertie Coopersmith
On Wed, 30 Jul 2003 14:33:32 +0200
David Neary [EMAIL PROTECTED] wrote:


 
 I don't know what you're doing - is this when the gimp is
 starting up that you get this? 
 
Actually, I may have been wrong in my previous reply about this. That
error may have occurred on gimp startup without my being aware of it.

Therefore its not clear to me whether it had any connection with the
fact that rectselect was a do-nothing. (It did not take me into any
further dialog to do with entering an aspect ratio).

Regards, Bertie.
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] cropping to pre-set aspect ratio

2003-07-30 Thread David Neary
Bertie Coopersmith wrote:
 Actually, I may have been wrong in my previous reply about this. That
 error may have occurred on gimp startup without my being aware of it.
 
 Therefore its not clear to me whether it had any connection with the
 fact that rectselect was a do-nothing. (It did not take me into any
 further dialog to do with entering an aspect ratio).

There is no further dialog - there is a tool options dialog
however which opens when you double click on the tool in the
toolbox. The rect select tool is the dotted rectangle - the tool
which is selected by default at startup. Double click on it, and
a dialog opens up (in 1.2) In 1.3, this dialog is active by
default, and docked in the main toolbox window.

Cheers,
Dave.

-- 
   David Neary,
   Lyon, France
  E-Mail: [EMAIL PROTECTED]
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] cropping to pre-set aspect ratio

2003-07-30 Thread David Neary
David Neary wrote:
 Bertie Coopersmith wrote:
  Actually, I may have been wrong in my previous reply about this. That
  error may have occurred on gimp startup without my being aware of it.
  
  Therefore its not clear to me whether it had any connection with the
  fact that rectselect was a do-nothing. (It did not take me into any
  further dialog to do with entering an aspect ratio).
 
 There is no further dialog - there is a tool options dialog
 however which opens when you double click on the tool in the
 toolbox. The rect select tool is the dotted rectangle - the tool
 which is selected by default at startup. Double click on it, and
 a dialog opens up (in 1.2) In 1.3, this dialog is active by
 default, and docked in the main toolbox window.

Oh - and if you'd like to get your idea about cropping limited by 
aspect ratio considered at some future date for inclusion, you should 
open a report for it in bugzilla (http://bugzilla.gnome.org - click on 
Create a bugzilla account, follow the instructions, and then click on 
Enter a new bug). Otherwise, it is likely to get forgotten again... 
sorry :)

Cheers,
Dave.

-- 
   David Neary,
   Lyon, France
  E-Mail: [EMAIL PROTECTED]
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] cropping to pre-set aspect ratio

2003-07-30 Thread Joao S. O. Bueno


Bertie Coopersmith wrote:

Thanks for telling me this. (I am not very gui-intuitive.) Now I see
what you were talking about. However, unless there is yet another setting
that I missed, the behaviours of the rectangular selection tool and the
cropping tool are significantly different. I need all the aspects of the
cropping tool with its ability to make incremental adjustments but with
the one additional feature - constant aspect ratio - that I described in 
this thread's initial posting. Its the only way, for example that I can
crop out one person's face from a group without cutting off a chin or an
ear at one extreme or getting too wide a view at the other, and still end
up with the correct aspect ratio ready for resizing to my standard thumbnail,
say 96x72 pixels. The only way, that is, apart from what I do now with the
aid of a pocket calculator.

Regards, Bertie.

Just make a rectangular selection of the portion you would crop -
fixing the size/aspect ratio int he tool options and holding shift.
Then, click on the crop,select a random area, and click on the from 
selection buttom on ther crop-confirm dialog.

(BTW, do not credit me on this answer, I am just summing up what has 
been around on this thread)

Regards,

JS
--
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] cropping to pre-set aspect ratio

2003-07-29 Thread Raymond Ostertag
On Tue, 29 Jul 2003 20:02:29 +0200
David Neary [EMAIL PROTECTED] wrote:


 There is a workaround which allows you to do exactly this. You
 use the rect select tool with either fixed size or with the ratio
 you're interested in (for example, when I take photos with my
 camera, they're 2048x1572, and I crop them to the ratio 13x11 for
 printing, or sometimes I just set a fixed size of 1820x1540
 (which is the same ratio) and position the rectangular selection
 afterwards to frame the photo as I want. 
 
 Then use the Crop tool and click the From selection button to
 have the crop markers align automatically to the rectangular
 selection you just made. You have a crop at an exact proportion,
 but you have to pass by the Select tool first. The handy thing
 about the selection tools is that you can use Alt (or Ctrl-Alt)
 to move them around. Of course, the pain is that you can't resize
 them once they're made.
 
Another way is to reduce the canvas image size then to move the layer 
in the image. Finally you can resize (or not) the layer size at the
image size. (explain in french in the new gimp hs of linuxmag) 

@+
Raymond
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] cropping to pre-set aspect ratio

2003-07-29 Thread Sven Neumann
Hi,

David Neary [EMAIL PROTECTED] writes:

 There is a workaround which allows you to do exactly this. You
 use the rect select tool with either fixed size or with the ratio
 you're interested in (for example, when I take photos with my
 camera, they're 2048x1572, and I crop them to the ratio 13x11 for
 printing, or sometimes I just set a fixed size of 1820x1540
 (which is the same ratio) and position the rectangular selection
 afterwards to frame the photo as I want. 

 Then use the Crop tool and click the From selection button to
 have the crop markers align automatically to the rectangular
 selection you just made. You have a crop at an exact proportion,
 but you have to pass by the Select tool first.

In gimp-1.3 you can crop the bounding-box of the selection using the
new menu entries Image-Crop Image or Layer-Crop Layer. If you set
keybinding for those the rect-select tool can be nicely used as a
better crop tool.


Sven
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] cropping to pre-set aspect ratio

2003-07-29 Thread Sven Neumann
Hi,

David Neary [EMAIL PROTECTED] writes:

 It is not immediately obvious to me how the two can inherit from
 a common object.

Me neither, but I wanted to make some people think about it. As you
pointed out already, there are several possible solutions. Duplicating
the code seems to be the worst.


Sven

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user