|
| | execute ($img, $width, $height, $fit, $scale) |
| |
◆ execute()
| execute |
( |
|
$img, |
|
|
|
$width, |
|
|
|
$height, |
|
|
|
$fit, |
|
|
|
$scale |
|
) |
| |
Returns a resized image
- Paramètres
-
| \WideImage\Image | $img | |
| smart_coordinate | $width | |
| smart_coordinate | $height | |
| string | $fit | |
| string | $scale | |
- Renvoie
- \WideImage\Image
◆ prepareDimensions()
| prepareDimensions |
( |
|
$img, |
|
|
|
$width, |
|
|
|
$height, |
|
|
|
$fit |
|
) |
| |
|
protected |
Prepares and corrects smart coordinates
- Paramètres
-
| \WideImage\Image | $img | |
| smart_coordinate | $width | |
| smart_coordinate | $height | |
| string | $fit | |
- Renvoie
- array
La documentation de cette classe a été générée à partir du fichier suivant :
- XoopsCore25-2.5.11-Beta1/htdocs/class/libraries/vendor/smottt/wideimage/lib/WideImage/Operation/Resize.php