Dynamic seam carving with ImageResizer

Version 3.0.11 version of ImageResizer supports dynamic seam carving (content-aware image resizing) and remote image resizing.

Seam carving allows low-energy (unimportant) parts of the image to be removed in order to shrink an image.

Original image

Stretched (distorted image) to 300x150

Seam carved to 300x150

Original image

Stretched (distorted image) to 150x300

Seam carved to 150x300

While not a panacea, seam carving can be very useful when you need to change the aspect ratio of an image without cropping any features out.

The Image Resizer's implementation of seam carving is based on CAIR, which allows for extremely high-performance seam carving.

Published on

About Nathanael

Nathanael Jones is a software engineer, father, consultant, and computer linguist with unreasonably high expectations of inanimate objects. He refines .NET, ruby, and javascript libraries full-time at Imazen, but can often be found on stack overflow or participating in W3C community groups.


If you develop websites, and those websites have images, ImageResizer can make your life much eaiser. Find out more at imageresizing.net.


I run Imazen, a tiny software company that specializes in web-based image processing and other difficult engineering problems. I spend most of my time writing image-processing code in C#, web apps in Ruby, and documentation in Markdown. Check out some of my current projects.

More articles