I'm in need of a program that will batch out an aspect ratio of 1:1. I was able to use XnView to batch crop the white space out of my image. (example below)

enter image description here

I need the images in a perfect square. (example below)

enter image description here

It would also be helpful to be able to add some padding.

Are there any programs out there that will do that?

I found somewhere that said you could go to edit/set selection ratio inside XnView but can’t find it. The post was from 2008 so i’m sure they’ve updated the program since then.

Any help with this would be greatly appreciated.

  • 1
    \$\begingroup\$ Sounds like a job for ImageMagick, a sort of swiss army knife for image processing on the command line. \$\endgroup\$ Aug 24, 2017 at 17:28
  • 1
    \$\begingroup\$ I'm voting to close this question as off-topic because it is not about photography. \$\endgroup\$
    – ths
    Aug 24, 2017 at 20:22

1 Answer 1


With XNview MP:

  1. Select images
  2. Tools->Batch Convert (or Ctrl+U)
  3. on tab Action select Resize
  4. Mode - Fit
  5. Select Width and Height
  6. Unselect "Keep ratio"
  7. Enlarge/Reduce - Reduce only
  8. press Convert

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.