Smart crop
Smart crop scales and positions the source so the target-ratio rectangle is completely covered, then excludes image area beyond that rectangle. Converting a wide photograph to 1:1 necessarily removes horizontal content unless the original is already square. Because the retained region is a compositional choice, inspect faces, text, signatures, and objects near every edge before accepting the result.