<?php

require 'ResizeImage.php';
$ResizeImage = new ResizeImage();
$ResizeImage->setImageToResize("Desert.jpg");
$ResizeImage->setNewWidth('300');
$ResizeImage->setNewHeight('300');
$ResizeImage->setRatio(true);
$ResizeImage->setNewImageName('Desert_resized');
$ResizeImage->setSaveFolder(__DIR__ . DIRECTORY_SEPARATOR);
$result = $ResizeImage->resize();
print_r($result);