https://wp.jochen.hayek.name/blog-en/2010/08/25/how-to-convert-a-rectangular-image-into-a-square-one/
how to convert a rectangular image into a square one using a command line utility?