how to convert a rectangular image into a square one using a command line utility?

Most of the images I download from LinkedIn or Xing are not square ones. But I want to make use of them in my Google Mail address book, which allows me to select a square sub-section of those rectangular images. I know how to transform rectangular images into square ones using Gimp, but that takes far too many manual steps. I would actually prefer a command line utility. Can anybody help?


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.