PHP 8.5.0 Beta 1 available for testing

Voting

: five minus zero?
(Example: nine)

The Note You're Voting On

peter at musicalsaw dot com
11 years ago
Example of convolveImage:

<?php
// run an edge detection filter on an image
$image = new imagick( "diana.png" );
$edgeArray = array(-1,-1,-1,-1,8,-1,-1,-1,-1);
$image->convolveImage ($edgeArray);
$image->thresholdImage(1);
header('Content-type: image/png');
echo
$image;
?>

<< Back to user notes page

To Top