Content-aware image resizing in JavaScript | Trekhleb
Excerpt: JavaScript implementation of so-called Seam Carving algorithm for the content-aware image resizing and objects removal. Dynamic programming approach is applied to optimize the resizing time.