Help for this page
use strictures; use GD; ... $original_image->getBounds ); path("new.jpg")->spew_raw($new_image->jpeg);