RealWorld Designer

Discover what’s the RealWorld all about.

Archive for July, 2008

Speed comparison of 10 batch image resizers

Sunday, July 6th, 2008

After adding multi-core and multi-processor optimizations to Picture Resizer a few months ago, I was wondering how it compares to other tools for image resizing in terms of speed and image quality. Finally, I have found a bit of time to pick 10 applications and put them through a simple test.

How I tested

Test system:

  • Intel Core 2 6600 (2.4 GHz, two cores)
  • 2 GB of memory
  • Windows Vista

Test data:

  • 102MB in 98 .jpg pictures
  • various sizes, mostly in range from 2 to 6 megapixels

Settings:

  • 90% output .jpg compression quality (if supported)
  • resizing to 800 pixels longest side (if supported)
  • coverage-based resampling method (if supported)

Results

Application Time (lower=better) Note
VSO Image Resizer 2.0.1.7 15s  
Picasa 2 16s failed to process large image *)
Picture Resizer 3.0 17s  
Irfanview 4.1 19s  
JKLNSoft Batch Image Resizer 2.88 20s  
Microsoft Image Resizer PowerToy 22s run on XP, lower quality output (cannot set compression quality)
XNView 1.93.6 27s  
ACDSee Photo Manager 10 27s  
RealWorld Photos 2007.1 beta 45s  
Adobe Photoshop CS3 110s failed to process large image *)

*) Picasa and Photoshop refused to resize one of the test images, 40784×100 pixels stripe of a gigapixel image (http://www.tawbaware.com/maxlyons/gigapixel.htm)

Resized pictures per second.

A word about image quality

Quality of the resized pictures was satisfactory and there were only minimal differences among the tools. With one exception:

Images produced by Microsoft Image Resizer PowerToy suffered from a strange artifact. There was a white line by the right and by the bottom sides of the resized pictures. This tools seems to have problems with the boundary conditions of its resampling algorithm.

Strangely enough, Picture Resizer 3.0 was the only tool aware of gamma correction. Every other tool totally ignored the fact that 99.9% of .jpg pictures do not have a color profile and made the resampled pictures darker in regions with large differences between neighbor pixels in the original image (this usually affects edges). RealWorld Photos and Adobe Photoshop are of course able to handle gamma correction, but this must be specified manually and how many users are going to bother themselves with that? Probably none.

Gamma correction brightness difference.

Ignoring gamma correction makes resampled images darker.

About individual tools

VSO Image Resizer

http://www.vso-software.fr/products/image_resizer/

This tool was the fastest of the tested ones. While the difference is not big, it is still a victory. The user interface of the tool is nice and it is free for personal usage, although it pops a dialog each time the tool is run.

Google Picasa

http://picasa.google.com/download/

Picasa is a photo organizer, but has a very fast image resizing function. On the other side, the resizing is a bit clumsy, because pictures need to be added to the library first and only then it is possible to resize them. Picasa was also unable to load the extra-large image.

Picture Resizer

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

3rd place is not bad, but I should do some more performance tuning in the next release. Picture Resizer is a very simple-to-use tool and users can resize pictures by dragging and dropping them on the application icon or by running commands from context menu. It is the only tool, which is by default gamma-aware and it is the only one that does not need installation and hence it is 100% portable.

IrfanView

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

An old and popular freeware image viewer (and more). Nice 4th place ;-). No significant pros or cons. Made registry entries without asking, but deleted them on uninstall.

JKLNSoft Batch Picture Resizer

http://www.jklnsoft.com/

A tool specialized on batch resizing, a bit slower than the other ones, but not significantly. The user interface could not cope with my desktop running in 120DPI and looked a bit garbled. Considering this is a commercial tool, while all of the previous ones were (at least for personal usage) free, one would expect better result.

Microsoft Image Resizer PowerToy

http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx

It does its job, with the artifacts mentioned above. There is no way to set compression quality. If this tool were not distributed by Microsoft, I doubt that anyone would use it or even know about it.

XNView

http://pagesperso-orange.fr/pierre.g/xnview/enxnview.html

Nice free (for non-commercial use) image viewer. Acceptable resizing speed.

ACDSee Photo Manager

http://www.acdsee.com/

A commercial image viewer and organizer. Acceptable resizing speed. Annoying multiple popup message boxes and issues with uninstalling. It made registry entries without asking and did NOT delete them on uninstall :-(.

RealWorld Photos

http://www.rw-designer.com/photo-editor

RealWorld Photos (still in development) will be a general purpose batch image processor and photo editor, focused on more complex operations than just resizing. It is understandable that a more generic tool is slower than a specialized one.

Adobe Photoshop

Adobe’s all-in-one solution for image editing and batch processing. Again, it is understandable that a generic application is slower than the specialized one. Setting up the custom action was not exactly easy.

It was quite a surprise that Photoshop was unable to open the extra large .jpg image while many others had no problems with it. One would expect better from an application like this.

Conclusion

The numbers speak for themselves. It should be clear that resizing with Photoshop is not the best idea when speed is a concern. The quality of the resized pictures was almost identical (save for the gamma-correction issue). The speed differences of the first 5 tools is not big and you should take other aspects into account (like ease of use) when choosing your favorite image resizer.

The good, the bad and the nifty

Tuesday, July 1st, 2008

No matter how serious an application is, it should always have at least one nifty feature. Something not terribly useful, but something that is just fun to use. The nifty features of RealWorld Photos are going to be the BUBBLE and STYLIZE meta-tools.

Add comic bubbles to photos

In concert with the TEXT tool, these two meta-tools allow anyone to add cool looking comic bubbles to a photo.

BUBBLE and STYLIZE tools used to draw fancy text.

The BUBBLE meta-tool adds the comic bubble shape around the typed text. Size of the bubble and its corner radius are determined automatically from the size of the text.

The STYLIZE meta-tool adds a shadow around the shape to visually separate it from the background and blurs the background below the shape to make the text easily legible. There is also a slight reflection effect, which you can see as brighter and darker stripes.

The whole procedure is very easy. End user just activates the tool and types the text, the system takes care of the rest.

How does it work internally?

A meta-tool uses other drawing tool(s) and modifies their behavior. The STYLIZE meta-tool can be used with other tools as well to create for example glassy looking rounded rectangles (STYLIZE_RECTANGLE). The BUBBLE tool works pretty much in the same way and you could put a polygon into a bubble if you wanted.

There are more meta-tools available, the most useful is probably the SELECT meta-tool, which can be used to make for example elliptical selections, or select with brush.

A meta-tool is an ordinary plug-in and third party developers may create meta-tools of their own to enrich the application.

Summary

Adding comic bubbles is fun and anyone can learn to do it in a few seconds. While it not a critical feature it complements nicely the powerful scripting capabilities, flexible batch mode, and lossless .jpg re-saving.