public
|
execute(
Image $img,
smart_coordinate $width,
smart_coordinate $height,
smart_coordinate $left,
smart_coordinate $top,
int $color,
string $scale,
boolean $merge,
): Image
Returns an image with a resized canvas
Returns an image with a resized canvas
The image is filled with $color. Use $scale to determine, when to resize.
Parameters
$scale |
'up', 'down', 'any'
|
|
#
|