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.

Is there any (free?) software that will help me to convert existing JPG files into a specific file size on disk?

(I assume that the software will estimate accurately compressed file size during the save.)

share|improve this question
    
A "certain size" as in pixel dimensions or as in file size? –  Mokubai Jan 13 '11 at 9:22
    
I'd say file size, @Mokubai, given the reference to compression. –  Arjan Jan 13 '11 at 10:31
    
do you want to create dummy files, or convert existing files into files of a specific disk size? –  Arjan Jan 13 '11 at 10:33
    
convert existing. file size on disk –  Pablo Jan 13 '11 at 10:52
    
(Next time please note the "edit" link. Thanks and success!) –  Arjan Jan 13 '11 at 12:19
add comment

5 Answers

up vote 4 down vote accepted

Irfanview is pretty good and does it for jpeg- just install it WITH the plugins and setting file size should be a save option. I quite like Irfanview in fact, it's light, easy, quick and does batch operations nicely :)

share|improve this answer
add comment

The command line ImageMagick supports a maximum file size:

-define jpeg:extent=400kb
share|improve this answer
add comment

For quick and easy image resize I always use and recommend Picture-Resize. It's very easy to use and blazing fast.

http://www.rw-designer.com/picture-resize

It does not have a GUI, you just change the filename in order to change the parameters of the image resize operation. A very unusual but cool way to operate.

share|improve this answer
1  
The question seems to be asking about file-size not image dimensions –  RedGrittyBrick Jan 13 '11 at 10:28
    
yep, it's about file size, not dimensions –  Pablo Jan 13 '11 at 10:54
    
you can do a file size resize with the program I mentioned –  Patareco Jan 17 '11 at 3:53
    
Upvote because this program is one of the most versatile applications to perform batch image resize. For some operations irfanview is quite overkill. This program is specially good for sending it to family; for example the program application PhotoResizeK1000NMROEH.exe will resize images to 1000KB preserving everything. The user will only have to place it in the desktop and drag/drop the pictures or folders to convert. It does not get easier than that (in the webpage the program settings can be configured) –  obaqueiro Oct 8 '11 at 11:19
add comment

Paint.NET gives the file size when saving:

Show file size on saving

Simply change the quality setting to get the size you want.

share|improve this answer
add comment

Irfanview with the Save-for-Web plugin does this.

  1. Install irfanview.
  2. Install and download the plugin. The recommended way to do this is to just download and install the "All plugins" package from their website.

In irfanView, the plugin is accessible via "File", "Save for web (plugin)". There's a "Compress for size" option that lets you enter a desired file size and then makes an approximation of what you entered.

share|improve this answer
add comment

Your Answer

 
discard

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.