PHP 8.5.0 Alpha 4 available for testing

Voting

: max(one, six)?
(Example: nine)

The Note You're Voting On

ahmed at zigzapps dot com
5 years ago
The provided example is wrong. Here's a correct sample:

$matrix = [[1,-1,1],[-1,1,-1],[1,-1,1]];
$kernel = \ImagickKernel::fromMatrix($matrix);

$imagick = new Imagick();
$imagick->readimage($file.'/z.png');
$imagick->convolveImage ($kernel);
$imagick->writeimage('convolve.png');
$imagick->clear();
$imagick->destroy();

<< Back to user notes page

To Top