Crop and straighten to close to the edge of the photo
I have a problem with the crop and straighten tool. It works very well, but I'd like it to crop and separate photos more loosely.
When I scan multiple old photos, it crops them too close to the edge and sometimes even cuts off part of the edge (shown on photo_1). These old photos sometimes have wavy edges that I'd like to preserve.


I tried using some scripts, but didn't get the results I was hoping for.
I'd just like them to be cropped more loosely with about a 50px margin around the edges (shown on photo_2).
Thanks for any suggestions.
