Use "convert" to get squared images
Posted: 2009-04-13T05:03:00-07:00
Hi,
I have a lot of images in a direcotry, some of them landscape format, some of them potrait format.
I want to crop all of them, to get squared images (I need this for useage with metapixel).
I am looking through the crop and shave options of convert, but so for I did not find suitable options for this.
I want all images to be croped in a way, that the maximum big square is taken out and from above and below (or left in right in case of landscape) the same area is cropped away.
Can this be done using convert?
Thanks!
Nathan
I have a lot of images in a direcotry, some of them landscape format, some of them potrait format.
I want to crop all of them, to get squared images (I need this for useage with metapixel).
I am looking through the crop and shave options of convert, but so for I did not find suitable options for this.
I want all images to be croped in a way, that the maximum big square is taken out and from above and below (or left in right in case of landscape) the same area is cropped away.
Can this be done using convert?
Thanks!
Nathan