Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am looking for a thumbnail generator which will allow me to batch process hundreds of images and generate thumbnails of a specific size (200x150). IrfranView kind of does this, but it will matte my thumbnails on a background color if they cannot resized to fit the destination size (if I maintain proportions, which I want to). What I want is to size my source large enough to the target size and then auto crop to fit the 200x150 size.

Is there a program that will do this, or is they some painless way I can go this in Irfran view?

share|improve this question
For anyone reading this thread Media Resizer (a trailware app) is also worth checking out. Both ImageMagick and Infranview solutions referenced below also will work quite well. – Art Feb 1 '12 at 1:25
up vote 3 down vote accepted

You could still do this in a 2-step process in IrfanView.
First resize, setting the short side to 200 pixels (ensuring at least a 200x200 image). Then you run another batch on the result and crop to 200x150.

share|improve this answer
This is more or less exactly what I ended up doing. I was surprised that the thumbnail support did not have a "smart crop" feature; you actually have to do this in the main application, and not in the 'Thumbnail' app, which is where I was looking for this functionality. – Art Feb 1 '12 at 1:24
I had actually assumed the feature exists. Though when I tried to look up how to do it, I noticed it doesn't exist. Weird. – Oliver Salzburg Feb 1 '12 at 11:22

Imagemagick's convert utility will do what you want.

You need to specify the -thumbnail 200x150^ option, where the ^ indicates to cut/crop.

You can find usage examples here.

share|improve this answer
I did not go with ImageMagick, however I never even thought of using it. Thanks for reminding me about it! It always seems to slip my mind..... – Art Feb 1 '12 at 1:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .