0

Is there a way to use single line with specified slope to slice image in half and delete selected half of the image? (I have been looking for the solution but found only solutions with specifying x and y in rectangle selection while it is important for me to set specific angle of the slicing line and x,y coordinates for its (this line) center)

2 Answers 2

0

You can't do it with a single line. You'd need to make a selection.

You can use trigonometry to specify an angle and if you know the width or height, then you can work out the other dimension, so you can crop it to that size, so when you make your selection from corner to corner and delete it, it will be at the required angle.

Use the Free Select Tool (Lasso) F, to make a polygonal selection from corner to corner, forming a triangle. Then delete it.

enter image description here

You can also use the Measure tool to measure angles if needs be. You can also click and drag guides if you need to mark the position, then use the Free Select tool as above.

For example

enter image description here

0

Try this:

  1. Mark the point of the line with two intersecting H and V guides
  2. Increase the canvas size (Image>Canvas size) by 1.5x or even 2x and center the initial image in it
  3. Make a rectangle selection that covers the part of the canvas on one side of one of the guides. It is important that this selection is along one of the guides.

Rectangle select

  1. Start the Rotate tool and put it in "Transform: Selection" mode (the red square icon at the top of the Tool options.
  2. Click on the rotation center mark and drag it to the intersection of the guides. The side of the selection should also move to the intersection of the guides.
  3. Rotate the selection (or enter the required angle in the dialog)

Rotation tool

  1. Edit>Clear to delete the selected part.
  2. Image>Fit canvas to layers to restore the canvas size.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.