Resize into square the single product image in woocommerce without cropping

Hi everyone badly need your help about my image on a single product page in woocommerce i have my image size 1400x800px and uploaded it with out checking the hard crop settings in woocommerce. I would like to align it vertically center on its container how can I do that?

Solutions Collecting From Web of "Resize into square the single product image in woocommerce without cropping"