I have several images I want to crop in batch. They are scans and have "jagged edges". Basically I just want a 95% crop in both directions with the crop frame perfectly centered. So if the image is 1000x1000, I want a 950x950 image with 25 pixels cropped from each side. I don't see a way to specify this in Photoshop or Lightroom. Note: I do NOT want to straighten or resize the image.
Will update with images later, on mobile now.
Record an action where you adjust the canvas size: https://helpx.adobe.com/photoshop/using/adjusting-crop-rotation-canvas.html
Anchor in the center and adjust width and height to -5%.
I would advise making a backup copy of your original files folder before applying any actions, even if saving to a different destination. You know, just in case.