Copy link to clipboard
Copied
Hi is it possible to change crop ratio with scipt, im trying to add crop preview using script but i didnt find anything in the documentation, only crop()
Copy link to clipboard
Copied
Are you creating some kind of interactive cropping script that will display some kind of cropping mask the user can interactivity modify. All you showed in your post a 1:2 Aspect Ratio crop ratio you seem to want to change with a script. You gave no details about the preview view the script is to display where the preview crop would be be positions or what size relative to the image size.
Copy link to clipboard
Copied
Im creating a script where script create crop preview mask, user can move image left, right or up, down hit enter and script will continue to run (i will probably need to warp this into extension because script cant be paused)
Copy link to clipboard
Copied
Copy link to clipboard
Copied
For which photoshop are you interested?
What parameters of the tool do you want to set?