Keeping an image squared
Posted: 2015-10-05T09:04:32-07:00
Hi everyone. I am using imagemagick to batch trim a set of images to remove whitespace with the following command:
This works fine however how do I get the output image size to be squared? The images vary so there can't be a set squared size. I also saw this viewtopic.php?t=10419 which is quite similar to my request but I can't seem to figure out how to use those commands in addition to my command.
Code: Select all
mogrify -trim -fuzz 5 *.jpg