Select your localized edition:

Close ×

More Ways to Connect

Discover one of our 28 local entrepreneurial communities »

Be the first to know as we launch in new countries and markets around the globe.

Interested in bringing MIT Technology Review to your local market?

MIT Technology ReviewMIT Technology Review - logo


Unsupported browser: Your browser does not meet modern web standards. See how it scores »

{ action.text }

These are boom days for online photo-editing sites. Most people have Internet connections that let them upload pictures relatively quickly, and Flash, the programming language on which many of the editing applications run, has advanced to the point that developers can use it to implement tricks previously found only in the pricey photo-editing software Photoshop.

Now, a site called Rsizr (pronounced “resizer”) has added a feature that isn’t even in the newest version of Photoshop: the ability to shrink or enlarge pictures–horizontally and vertically–with relatively little distortion. For instance, Rsizr can compress a photo of students in a classroom without sacrificing resolution by removing the pixels between desks. Likewise, Rsizr can expand the picture to fill, say, an entire computer screen by adding extra pixels in certain places.

The algorithm that Rsizr is based on was originally developed by Shai Avidan, senior research scientist at Adobe Systems, and Ariel Shamir, a visiting researcher at Mitsubishi Electric Research Laboratories, in Cambridge, MA. In August, Avidan and Shamir published their photo-editing trick, known as seam carving, at the annual SIGGRAPH conference in San Diego. In addition, the researchers posted a video on YouTube describing the technique. Will Tsui, the founder and only employee of Rsizr, saw the video, read the paper, and recognized that Avidan and Shamir’s algorithm could easily be modified to work in Flash. Independently, Tsui developed a Flash-based seam-carving program, added a few extra features, and designed an interface so that users could upload pictures and edit them in a Web browser. Rsizr was launched at the end of September. Other online photo-editing sites, such as Arbor Labs’ FotoFlexer, have adopted the algorithm too. It can also be added to Photoshop as a plug-in.

Adobe’s Avidan says that seam carving is fairly straightforward. If, for instance, a person wanted to compress a picture lengthwise by a single pixel, the software would scan the image to find the best pixels to remove. This is usually a zigzagging, vertical seam that is surrounded by pixels on the left and right that have a similar color. The pixel-wide seam is removed and the image is compressed without distorting the objects in the image. What makes the duo’s algorithm impressive is that it can find and remove these pixels quickly, so a person can expand and compress a picture quickly. The process works well for photos with backgrounds such as sky or grass, in which there can be little variation in color and pattern, Avidan explains, although it works poorly for people’s faces and more varied landscapes.

– Video. Do Not Edit. –

This video illustrates the process of removing a person from a picture using Rsizr. First the user selects the parts of the image that are important and shouldn’t be adjusted, and colors those items green. Then the user colors the items to be removed from the picture red. The software automatically removes the items to be deleted and reorganizes the photo according to the user’s demands.

Credit: Technology Review

By publishing the paper and making the approach available to anyone, Avidan inadvertently spurred the proliferation of sites that are making use of seam carving. He’s pleased to see the technique being used in a variety of ways by the open-source community and Web developers. But Avidan isn’t really surprised that some websites have made use of the technology. “It’s not a big effort to implement it,” he says.

1 comment. Share your thoughts »

Credit: Rsizr

Tagged: Web, photography, Adobe, Flash, Photoshop

Reprints and Permissions | Send feedback to the editor

From the Archives


Introducing MIT Technology Review Insider.

Already a Magazine subscriber?

You're automatically an Insider. It's easy to activate or upgrade your account.

Activate Your Account

Become an Insider

It's the new way to subscribe. Get even more of the tech news, research, and discoveries you crave.

Sign Up

Learn More

Find out why MIT Technology Review Insider is for you and explore your options.

Show Me