Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

For various reasons I want to scale down a couple of images so that they have a specific file size. I want to convert gif, tiff and jpeg files.

Is there any tool that allows me to do that with a batch?

share|improve this question
You can do this with GIMP or Photoshop quite easily, just Google batch resize with either program name. –  Breakthrough Jun 19 '12 at 19:07
I can find tutorials that show me how to batch process images to resize based on image resolution. But I can't find an explanation on how I can do that based on image file size. –  RoflcoptrException Jun 19 '12 at 19:37
You might take a look at ImageMagick for accomplishing this, it is a powerful tool with many features. –  jmreicha Jun 19 '12 at 20:52
How specific do you want the file size to be? Down to the byte? Kilobyte? You could probably do it with a script and ImageMagick - compress, check file-size, compress more or less depending on how much bigger or smaller than the target it is, repeat until close enough.. –  Blorgbeard Jun 19 '12 at 22:52

2 Answers 2

In GIMP when you save a JPG, you can preview the output as you play with the compression level and it estimates the output file size. I believe this is the closest to what you're looking for. And I believe it only does this for JPGs.

share|improve this answer

There is also IrfanView which is a free download that would allow you to batch resize. Download Here.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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