/** * Determines if the top and bottom need to be cropped * * @since 2.0 * @param SLIRImage $image * @return boolean */ private function shouldCropTopAndBottom(SLIRImage $image) { if ($image->getCropRatio() > $image->getRatio()) { return true; } else { return false; } }