imageconvolution
Intervention/image
Supported Versions: PHP 5 >= 5.1.0, PHP 7, PHP 8
Apply a 3x3 convolution matrix, using coefficient and offset
imageconvolution
(
GdImage $image
,
array $matrix
,
float $divisor
,
float $offset
):
bool
];
return
imageconvolution
(
$image
->
getCore
(),
$matrix
,
$div
,
0
);
}
}
src/Intervention/Image/Gd/Commands/SharpenCommand.php