|
| | execute ($img, $width, $height, $fit, $scale) |
| |
◆ execute()
| execute |
( |
|
$img, |
|
|
|
$width, |
|
|
|
$height, |
|
|
|
$fit, |
|
|
|
$scale |
|
) |
| |
Returns a resized image
- Parameters
-
| \WideImage\Image | $img | |
| smart_coordinate | $width | |
| smart_coordinate | $height | |
| string | $fit | |
| string | $scale | |
- Returns
- \WideImage\Image
◆ prepareDimensions()
| prepareDimensions |
( |
|
$img, |
|
|
|
$width, |
|
|
|
$height, |
|
|
|
$fit |
|
) |
| |
|
protected |
Prepares and corrects smart coordinates
- Parameters
-
| \WideImage\Image | $img | |
| smart_coordinate | $width | |
| smart_coordinate | $height | |
| string | $fit | |
- Returns
- array
The documentation for this class was generated from the following file:
- C:/xoops2511b2/htdocs/class/libraries/vendor/smottt/wideimage/lib/WideImage/Operation/Resize.php