I'm developing a batch tool to sharpen images, for example after resizing them for print. I found that these two operations, resizing and then sharpening, are a somewhat common constant in my work flow. Usually, I shoot RAW images, import them into digikam directly, then apply white balance, tone curve corrections and sometimes input sharpening. There is little to be automatized there because each image needs different treatment. After this first step I save the post processed images as TIFF. Then, depending on what I do with them, I resize them differently, e.g. 1024x768 for Flickr, 1600x1200 for small prints, etc, and convert to JPEG. Downsampling tends to soften the images, so the final processing step is always a slight sharpen filter.
To demonstrate the effect, take a look at the following two images. The first one was just resized to 1600x1200 pixels, the second one was treated with an Unsharp Mask filter after resizing. It looks more crisp. Click on the images to view them in original size for the full effect.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT3a0iUYugFWx6IHiq12-5fxaQLcQKSbQCoPO3KRRdJ6N2JgOqlRNVtq_GlOqMTxH_mH3wVcKRI48-i5yHCeYQgQ-14-4PVSFBRvjesqeKrePLNZOzRSA3GYLqDskL2yTGVzgYE8gvAN0/s200/P1040353.jpg)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitiKWj2nkpyPHGlUbrkCim_1mPhuSk197CDWJzxf-fCN6DRpK86-G-FQmoulMXW4k7OfBZirurqSxDVon_0R09tFOYXzaZAbgUaHKefn8hFjDdezSuVdy32Y-nLN2NeCbKi6pvBFG6oEI/s200/P1040353_2.jpg)