Does anyone know of a tool that can resize a batch of images to the largest size that keeps each one under a specified file size (preserving aspect ratio)? This would be very useful when uploading to sites with different file size limits

Edit: only needs to run on Windows


1 Answer 1


I use IrfanView for batch resizing. It is a free program and has many powerful tools including the ability to batch file resize by file size, megapixel size, or Both.


Here are two screen captures of the batch file page.

Under "Advanced" you can set Width and Height or MegaPixel size.

enter image description here

Under "Options" you can set a file size limit. "Set file size: 65 KB".

enter image description here

  • 1
    \$\begingroup\$ It is a good answer. Probably some people is voting down for the dependency on the image. Try to add the descriptive text Mike. \$\endgroup\$
    – Rafael
    Feb 16, 2016 at 23:46

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