Image seam carving for dynamic resizing.