Closed HassanZahirnia closed 11 months ago
Agreed. I would be nice to be able to do something like this:
$image->crop(
x: $width * $area->left,
y: $height * $area->top,
width: $width * ($area->right - $area->left),
height: $height * ($area->bottom - $area->top),
);
Same issue here
Please use Version 3 of Intervention Image.
Hey,
I recently started using named arguments in PHP and I noticed when I use them with functions such as
widen()
, I'd get the following errors:Given this input:
It looks like there is a wrapper around the input which does not expect/support named arguments.