Advanced seam carving library in PHP inspired by the Liquid Rescale Library (liblqr) of Carlo Baldassi.