------------------------------------------------
In a post in the PSP forum, user @badger50 asked for a script to be able to adjust the curve of a selection to create manually adjustable rounded corners. That post is here: http://forum.corel.com/EN/viewtopic.php?f=56&t=61952
I have now created a script, with grateful assistance with coding issues I ran into from @LeviFiction, that creates a rounded corner selection on an image that allows the user to (a) manually adjust the size of the selection, (b) manually allows the user to adjust the curvature of the rounded corners, (c) manually allows the user to move the selection wherever he/she wants on the image, and (d), then automatically creates a new image using the selection created by the user.
The idea is to give the user complete customization of the selection - curvature size, selection rectangle size, and rectangle position on the original image to get the desired crop.
The script uses Gary Barton's Pause Script and is run in two stages (for those who need it the instructions are in the script's header). However, it's quite simple to run and only takes 2 clicks.
With your image open, you run the script. You'll get a semi-transparent white lith overlay on the image with moveable nodes around it and one in the center. Clicking and dragging the nodes on the top, bottom or sides will let you resize the rectangle to taste. Placing the cursor on the node in the center until it becomes a Mover icon then clicking and dragging allows user to position the rectangle as desired. Clicking and dragging the nodes at the left and top edges of the top left curve allows user to adjust the size of the rounded curvature (the other corners automatically adjust accordingly).
Then just run the script again and you'll get a copy of the image portion you selected, with the curve size you choose, pasted as a new image in your workspace.
AND, if you wish to make another different crop from the same original, you can just put focus on that original and run the script again, make new adjustments in size, curvature and position as desired, and run again to copy that new selection as a new image.
For my own use, I made it a bound script and put it on the flyout of the Selection tool. I'd prefer to have it on the selection Tool Options but apparently you can't customize that ribbon by adding stuff.
Not sure it's something most will use often, but hope it finds some use for some!
