Copy link to clipboard
Copied
How can I position a crop box at x and y pixels on an image? Is there a way to specify the position of a crop box? I'd like to position a 500 px * 500 px crop box at exactly 120 px on the x axis and 500 px on the y axis. How do I do this?
Copy link to clipboard
Copied
* Double click on the upper left intersection point of the X & Y rulers, to reset the origin point to zero (if it was elsewhere).
* Double click on an X or Y ruler to bring up the ruler preferences, set the ruler to PIXELS as the unit.
* Bring up the info panel (F8) window
* Move the crop tool or the rectangular marquee (selection) tool to 120 px and 500 px and ensure that the width and height is 500 px.
Holding down the spacebar allows you to reposition as you "draw", then release to continue "drawing".
Another method is to simply draw a marquee selection at any size/position, then press CMD/CTRL T to transform the selection and set the anchor point to the upper left and then type in the X + Y + Width + Height. If the position/dimension fields are not set to pixels, you can contextual/right click in the field and change the unit to pixels or just type in say 500px to override the current units. Then use the Image > Crop menu command.
Edit: I once created an interactive crop script to crop to a desired square size here:
Copy link to clipboard
Copied
Wouldn’t using Image > Canvas Size twice work just as well?
Copy link to clipboard
Copied
@c.pfaffenbichler wrote:
Wouldn’t using Image > Canvas Size twice work just as well?
What about the X120px and Y500px upper left anchor point?
Copy link to clipboard
Copied
One could use »Relative« first.
Edit: Sorry, forgot to set the Reference Point accordingly.
Copy link to clipboard
Copied
Ah now I see where you are coming from, a 2 step canvas size crop, first relative with negative values to set the upper left crop position from a lower right anchor point... Then an absolute crop to 500px square from the upper left anchor point.
That would work too!