SEARCH

How-To Geek

How to Batch Resize Groups of Photographs Using XnView

xnview

After taking several dozen large, multi-megapixel photos, the last thing I want to do before uploading is manually shrink them. Rather than deal with long upload times, freeware application XnView comes to the rescue, batching resizes in a few easy steps.

sshot-371

Install XnView and navigate to your folder with your group of images. Select each one you intend to resize.

sshot-373

Once you have them selected, right-click and choose “Batch Processing” from the contextual menu.

sshot-374

You’re given this Dialog Box. It should list all of the images you want to batch edit—if it doesn’t you can add them here.

sshot-380

In order to save my originals, I pick a separate Output Directory from this same tab of this same Dialog Box.

sshot-381

You can see I have directed it to put the new images in this new, empty directory. You can also edit the “Overwrite” options, like I’ve done. Other helpful option is asking it to “Open output folder in Explorer.”

sshot-375

Click to the “Transformations” tab. We’re going to apply a “Resize” action. Click the highlighted “Add >” to use the action.

sshot-377

Click the radial marked with the “%” to resize your image by percent and then click the sshot-377.

sshot-376

You have numerous options on the contextual menu that pops up.

sshot-379

I pick 25% of my original size, telling the program to also keep my ratio, ensuring my pictures don’t get distorted. Leaving my “Resample” on the default setting, I click “Go.”

sshot-384

XnView cranks through the files and resizes them.

sshot-385

XnView conveniently opens the folder with my newly shrunken images.

sshot-386 sshot-387

Here’s a quick comparison of the change in filesize of one of the random images. This set of images should be much easier to upload to Facebook, Blogger, or FTP to your personal site.

XnView is free software for viewing, editing, and batch editing image files. Download it for all versions of Windows, from Win 95 through Windows 7, here.

Eric Z Goodnight is an Illustrator and Graphics Geek who hopes to make Photoshop more accessible to How-To Geek readers. When he’s not headbanging to heavy metal or geeking out over manga, he’s often off screen printing T-Shirts.

  • Published 10/14/10

Comments (14)

  1. Chris

    Photoshop already has this baked in, no need for extra plugins…File->Scripts->Image Processor…You choose the directory the files are in, the quality, size and type you want them to be exported too.

  2. Eric Z Goodnight

    It’s a great tool. And I will cover it, but XnView is freeware for people that don’t want or can’t afford Photoshop.

  3. IanSeward

    Faststone is free and about the best free photo “Swiss knife” available.

  4. Eric Z Goodnight

    I’ve used Faststone, but years ago. I found it ran a little slow on my older machine, while XnView was lighter and ran faster. I think it’s just a personal choice as to which is better.

  5. Phuctifino

    XnView is one program I’ve had since day one & cannot imagine being without it for one minute.

  6. Abhishek K. Pandey

    Was searching for such a s/w from quite sometime. I am not using photoshop, because I don’t need it. As seen from Article, it looks good tool specially for webmasters. Going to download and use it.

  7. Abhishek K. Pandey

    Headbang. I can’t download it. it says not reachable.

  8. Abhishek K. Pandey

    Ok. Got finally.

  9. aLiN

    You can also save your settings as a script and next time you don’t need to do this again, just select the script and click GO.
    I like XnView very much.

  10. Eric Z Goodnight

    That’s a very good point. I should add that to this post.

  11. Kane

    Hi Eric

    I’ve realised that the output quality of a resize done via batch processing within XnView is terrible compared to if I do it manually in my photo editing software (Corel Photo-Paint Essentials 4).

    For example, my original file size is 9.12MB. If I manually resize through Corel to 20% of original, then the file size is reduced to 462kb. If I do it via a batch resize to 20% with XnView, the file size 74.5kb. Needless to say the Corel result is a lot better, and is what I’m after as it seems to hold all the detail of the shot, however I can’t do the batch process in there because I need to be able to record a script via Recorder Docker, but apparently the “Essentials” version of the program doesn’t offer this.

    Is there anyway to ramp up the quality of the XnView output so that the image quality isn’t compromised when resizing?

    Cheers

  12. Eric Z Goodnight

    There are a couple of reasons this could be happening.

    1. You could simply be using a lower quality JPG compression setting–I’m not sure what the default is for either Corel or XnView off the top of my head. This seems the most likely as your filesizes are so drastically different. Try looking for JPG quality/compression settings first, this should likely solve your problem.
    2. XnView has several options on anti-aliasing scripts, which can also change the details in your photographs. I seem to remember I used the default for this, but that doesn’t mean that you have to.

  13. Gary

    Those running Linux have the option to install a program called sir. (simple image resizer). http://sir.projet-libre.org/ its light, very easy to use, and quick.

  14. Gary

    its also available for Windows and OSX. i noticed that after i posted the last one

Enter Your Email Here to Get Access for Free:

Go check your email!