I need to find a way to automate cropping a square image to a portrait image. For example, my images are centered in 1000W x 1000H and I need to crop them to 750W x 1000H. Some subjects are tall/slim (runs North-South) and some are wide (runs East-West). For subjects that don't extend beyond 750w, everything crops fine. However, for subjects that extend beyond 750W, the left/right is cropped off. Is there a quick way to crop from the center out? Thanks.
To be honest with you, Photoshop has no real way of knowing what a subject is, although the most recent version of Photoshop CC 2018 has an automated Select > Subject function, but it's brand new, and doesn't work on everything. Also the function is missing in older versions of Photoshop.
I have no idea if it will work on your images, but I suppose you could try it. I've checked it is possible in CC 2018 to record Select > Subject in an Action, perhaps then you could Expand the selection by a set number of pixels, then apply a Crop action.
The problem is that it's quite difficult for software to be programmed to know which part of a photograph is the subject, and which isn't. I think the above method would probably struggle if the background was complex/detailed and sharply in focus, or if there were multiple subjects. A computer is no substitute for the ability of the human brain to choose a crop for an image, taking composition into account (at least, for the moment).
When I need to make multiple crops of many images (sometimes several hundred), of different subjects in different orientations, I don't use Photoshop. I do it manually in Adobe Lightroom. Although manual, it's quick and efficient. There's no "saving" or "opening" required. Cropping is non-destructive. When the crops are done, you can export everything in one operation.