File path: dist/twist/Core/Models/Image/Image.model.php
Namespace: Twist\Core\Models\Image
resize
— Resize the image to specified dimensions provided in the width and height parameters
Name | Description |
---|---|
$intWidth | n/a |
$intHeight | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$intWidth = 124;
$intHeight = 124;
//Call the function resize with the example vars
$resImage = new \Twist\Core\Models\Image\Image();
$resImage -> resize($intWidth, $intHeight);