Resize images the smart way using the content-aware scaling algorithm (by making use of the seam carving algorithm).
This demo is part of a blog post. You can read more information about content-aware scaling here.