API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Public Member Functions | |
execute ($img, $width, $height, $left, $top, $color, $scale, $merge) | |
execute | ( | $img, | |
$width, | |||
$height, | |||
$left, | |||
$top, | |||
$color, | |||
$scale, | |||
$merge | |||
) |
Returns an image with a resized canvas
The image is filled with $color. Use $scale to determine, when to resize.
\WideImage\Image | $img | |
smart_coordinate | $width | |
smart_coordinate | $height | |
smart_coordinate | $left | |
smart_coordinate | $top | |
int | $color | |
string | $scale | 'up', 'down', 'any' |
boolean | $merge |