Resize image
public resize ( integer $newWidth, integer $newHeight, string $option = 'auto', string $backgroundColor = '#000000', integer $sourceX, integer $sourceY ) : |
||
$newWidth | integer | New width |
$newHeight | integer | New height |
$option | string | Option can be (auto|crop) |
$backgroundColor | string | Background color |
$sourceX | integer | Source x |
$sourceY | integer | Source y |
return |