Forum Moderators: coopster
This is the simple sample code:
<?
$myImage=imagecreatetruecolor(20,20);
$sharpenMatrix = array(-1,-1,-1,-1,16,-1,-1,-1,-1);
$divisor = 8;
$offset = 0;
var_dump(imageconvolution($myImage, $sharpenMatrix, $divisor, $offset));
?>
This simple prdouces:
bool(false)
does anybody know what I'm missing? Or is this function not functional yet? Has anybody a self-written verion handy that's not too slow?
Thanks,
SN