Easy cropping - Printable Version +- Gimp-Forum.net (https://www.gimp-forum.net) +-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP) +--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions) +--- Thread: Easy cropping (/Thread-Easy-cropping) |
Easy cropping - Ethel - 10-07-2020 Hello, What is the easiest way to explicitly crop from any edge? e.g. how to crop, say, 8px from the left, 10px from the right, and 12px from the bottom without using a mouse? A text box where I can enter the number or numbers I want would be good. The instructions for changing a selection don't work for me. Can the same be done for a rectangular selection box using absolute or relative coordinates, i.e. a modal windows with four text boxes that dynamically shows the new selection rectangle on the image? Thanks in advance Ethel RE: Easy cropping - programmer_ceds - 10-07-2020 The Tool Options dialog for the crop tool allows you to specify numeric pixel values for the x and y offsets and for the height and width - OK you have to do the sums to get the right and bottom margins as you want but that's straightforwards. (10-07-2020, 02:57 PM)Ethel Wrote: Hello, RE: Easy cropping - Ofnuts - 10-07-2020 The Crop tool has entry fields in the Tool options. It works using coordinates of the top left corner (these are also your top and left margins) and cropped size, but these fields can also be used with math formulas ( 400-(8+10) ) if your image is 400px and you want an 8px margin on the right and a 10px margin on left). RE: Easy cropping - rich2005 - 10-07-2020 Same as the other two + an example You can enter the values into the Crop tool options. At the bottom, direct entry for origin and size of the crop. Make a crop on the canvas, anywhere , any size Quote:...8px from the left, 10px from the right, and 12px from the bottom.. That gives the origin as 8 pix and 0 pix (since nothing to come off the top ) Gimp can do the arithmetic for you In the Width enter image: width - 8 - 10 (for the left and right crop ) In the Depth enter image: depth - 12 (to crop the bottom) The crop area will adjust to those values, click in it to effect the crop. FWIW example https://i.imgur.com/grwEAVK.mp4 RE: Easy cropping - programmer_ceds - 10-07-2020 Thanks for that I hadn't realised that GIMP would evaluate simple expressions. (10-07-2020, 03:41 PM)rich2005 Wrote: Same as the other two + an example RE: Easy cropping - Ethel - 10-08-2020 Thank you. Now I am learning how to redisplay Tools Options. RE: Easy cropping - rich2005 - 10-08-2020 Do not be persuaded by the 'Make-Gimp-Look-Like-PS' brigade. You need Tool Options easily available. Windows -> Dockable Dialogues -> Tool Options (top of the list of available docks) |