Example
// include resizer class
include './resizer.php';
// create new instance of resizer
$image = new Resizer('/path/to/original/image.jpg');
// call resize method with desired width and height
$image->resize(640, 360);
// save resized image, quality setting: 1(low quality) - 10(high quality)
$image->save('/path/to/resized/image.jpg', 10);