Post Reply 

how to create a shortcut for the action crop?

Jul 7, 2014, 20:04 (This post was last modified: Jul 7, 2014 20:05 by Paul.)
Post: #1
how to create a shortcut for the action crop?
This is driving me absolutely nuts. I originally tried to find a solution in photoshop elements but failed and now I'm trying it with GIMP.

All I want to do is create a shortcut for the ACTION crop, not to create a shortcut to the crop tool.

What I need to do many hundreds of times is to select an area on an image with a fixed one to one aspect ratio and then crop it. But I don't want to waste my life selecting from the crop action from a menu. I just want a single keystroke to perform the action.

So to recap I go to selection tool (already fixed aspect ratio, so no time lost there), drag to the selection I want and then have to go to a drop down menu and pick crop. I need to remove that last menu selection with a single keystroke.

Can anybody out there help? Please!

Paul
Find all posts by this user
Quote this message in a reply
Jul 7, 2014, 20:49 (This post was last modified: Jul 7, 2014 21:01 by rich2005.)
Post: #2
RE: how to create a shortcut for the action crop?
hmmmm..the ps word Wink

Gimp does not have actions, which implies a PS macro type function.

Why use a selection when you can go straight to crop.

I know it is not what you want but you can assign a single key to call the crop tool, not too many free keys but G is one. (default is shift-c)

http://i.imgur.com/fL5YOgN.jpg

Then there are options to set either a fixed aspect ratio 1:1 and click-drag an area
or
set a fixed size and click and move.

http://i.imgur.com/ajDvTxw.jpg

might help.

Is the crop the same / size position for all the images? maybe other ways of getting an outcome.

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Jul 7, 2014, 21:58
Post: #3
RE: how to create a shortcut for the action crop?
Thanks very much for that, a crop with a fixed aspect ration solves that particular problem. Smile

Now all I need to do is a find a way to save the image as jpeg that doesn't involve 64 key strokes or mouse clicks. Can I be cheeky and ask if you have an answer for that too?

Thanks
Paul
Find all posts by this user
Quote this message in a reply
Jul 8, 2014, 09:26 (This post was last modified: Jul 8, 2014 09:35 by rich2005.)
Post: #4
RE: how to create a shortcut for the action crop?
Just in case the OP comes back.

There are plugins that automate the export process, sometimes saving in multiple formats etc.

A dangerous one, is save-export-clean.py by Akkana Peck, do a search and you will find it. It quickly overwrites using the existing image format, no warnings given.

The attached plug-in save-as-jpeg.py is a spin-off and only saves to jpeg format.

The only very small mod I made to the plug-in is to append a '-1' (not incremental) to the filename so you can not overwrite an original jpeg. (edit line 66 to change back)

Still a couple of mouse click though. screenshot http://i.imgur.com/dacDRYN.jpg

If a new filename is needed, then back to the regular export function.
If the file is already a jpeg and you do not mind losing it, as Ofnuts post, you can overwrite from the file menu or ctrl-e.

Remember to unzip the attachment then copy to .gimp-2.8\plug-ins


Attached File(s)
.zip  save_as_jpg.py.zip (Size: 1.58 KB / Downloads: 15)

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Stylus button shortcut opening menu box (Help) Vail 2 92 Nov 2, 2017 01:03
Last Post: Vail
  Crop-OK command maxop 1 100 Oct 1, 2017 20:29
Last Post: ythgilb
  Totally noob, wanted to crop as photoshop but canĀ“t CaLy 1 225 Aug 15, 2017 19:55
Last Post: ofnuts
  how to create logo for watermark purpose? kenny1999 5 414 Sep 24, 2014 18:16
Last Post: kenny1999
Question How to create a cloud from a photo? feny.be 2 295 Sep 24, 2014 17:29
Last Post: feny.be

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS