I have nearly 40 thousand of product photos horizontally and vertically. Hence I need a Photoshop action that will spawn them all in the center and make them square. I can't tell Photoshop which is vertical and which is horizontal. So I can't set the canvas size properly.
Do you know of a script for this?